diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index bec71eb..639615f 100644 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -6,7 +6,7 @@ module Api class ForbiddenError < StandardError; end before_action :set, except: %w[create check_email check_username] - before_action :set_by_id, only: %w[info update] + before_action :set_by_id, only: %w[update] MAX_CHARACTERS = 5 MAX_SUMMONS = 8