Fix bug in party controller authorization
This commit is contained in:
parent
c5ecd8d6e9
commit
bdb68f17a9
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ module Api
|
|||
private
|
||||
|
||||
def authorize
|
||||
render_unauthorized_response if @character.party.user != current_user || @party.edit_key != edit_key
|
||||
render_unauthorized_response if @party.user != current_user || @party.edit_key != edit_key
|
||||
end
|
||||
|
||||
def build_conditions(params)
|
||||
|
|
|
|||
Loading…
Reference in a new issue