From e2c1639d8fe03c9334802fd0b649f527779f5f24 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 5 Feb 2023 15:49:09 -0800 Subject: [PATCH] Remove log call --- app/controllers/api/v1/grid_weapons_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/v1/grid_weapons_controller.rb b/app/controllers/api/v1/grid_weapons_controller.rb index 76b14f8..3f46061 100644 --- a/app/controllers/api/v1/grid_weapons_controller.rb +++ b/app/controllers/api/v1/grid_weapons_controller.rb @@ -185,7 +185,6 @@ module Api def authorize # Create - ap @party unauthorized_create = @party && (@party.user != current_user || @party.edit_key != edit_key) unauthorized_update = @weapon && @weapon.party && (@weapon.party.user != current_user || @weapon.party.edit_key != edit_key)