Users#info endpoint uses username instead of ID

This commit is contained in:
Justin Edmund 2025-02-13 02:42:56 -08:00
parent a042847aab
commit 35853b0b54

View file

@ -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