diff --git a/resolvers/editor.py b/resolvers/editor.py index 62ea1110..59d313c8 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -81,7 +81,7 @@ async def create_shout(_, info, inp): reactions_follow(author.id, shout.id, True) # notifier - await notify_shout(shout_dict, 'create') + # await notify_shout(shout_dict, 'create') return {'shout': shout_dict} diff --git a/services/notify.py b/services/notify.py index 597835b5..588c1eee 100644 --- a/services/notify.py +++ b/services/notify.py @@ -12,7 +12,7 @@ async def notify_reaction(reaction, action: str = 'create'): print(f'[services.notify] Failed to publish to channel {channel_name}: {e}') -async def notify_shout(shout, action: str = 'create'): +async def notify_shout(shout, action: str = 'update'): channel_name = 'shout' data = {'payload': shout, 'action': action} try: