Fix bug in party controller authorization

This commit is contained in:
Justin Edmund 2023-02-02 02:28:46 -08:00
parent c5ecd8d6e9
commit bdb68f17a9

View file

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