Skip to content

Commit

Permalink
Amend minor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzz212zzZ committed Apr 28, 2024
1 parent 0ef28f3 commit c692f6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/controllers/api/v1/lmss_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def create

private

# Improved validate_ids! to include integer validation
def validate_ids!
begin
params.require([:course_id, :lms_id, :external_course_id])
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/canvas_validation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def is_valid_course_id(courseId)
courseId.is_a?(Integer) && courseId > 0
end

##
##
# Checks if the provided lms id is valid.
#
# @param [Integer] lmsId the lms id to check.
Expand Down

0 comments on commit c692f6c

Please sign in to comment.