diff --git a/resolvers/editor.py b/resolvers/editor.py index 35f8614c..ff086870 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -179,7 +179,6 @@ async def update_shout(_, info, shout_id: int, shout_input=None, publish=False): roles = info.context.get('roles', []) shout_input = shout_input or {} current_time = int(time.time()) - shout_id = shout_id or shout_input.get('id') slug = shout_input.get('slug') if not user_id: return {"error": "unauthorized"}