Skip to content

Commit

Permalink
fix server style
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Jan 2, 2025
1 parent eaad447 commit 1c65c8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ else if (channel.getExam() != null) {
}
}

/**
* Converts the DTO to a channel entity
*
* @return the created channel entity based on the attributes in the DTO
*/
public Channel toChannel() {
Channel channel = new Channel();
channel.setName(this.name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class Lti13ClientRegistrationFactory {
*
* @param serverUrl The server URL for LTI configuration.
* @param clientRegistrationId The client registration ID for LTI configuration.
* @return A new Lti13ClientRegistration object with certain default values for Artemis
*/
public static Lti13ClientRegistration createRegistration(String serverUrl, String clientRegistrationId) {
var grantTypes = Arrays.asList(AuthorizationGrantType.CLIENT_CREDENTIALS.getValue(), LTIAuthorizationGrantType.IMPLICIT.getValue());
Expand Down

0 comments on commit 1c65c8a

Please sign in to comment.