Users#info endpoint uses username instead of ID (#180)
This commit is contained in:
parent
a042847aab
commit
60f153a169
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ module Api
|
||||||
class ForbiddenError < StandardError; end
|
class ForbiddenError < StandardError; end
|
||||||
|
|
||||||
before_action :set, except: %w[create check_email check_username]
|
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_CHARACTERS = 5
|
||||||
MAX_SUMMONS = 8
|
MAX_SUMMONS = 8
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue