diff --git a/backend/src/schema/resolvers/notifications.js b/backend/src/schema/resolvers/notifications.js index 8d0683258..9e6f5c91a 100644 --- a/backend/src/schema/resolvers/notifications.js +++ b/backend/src/schema/resolvers/notifications.js @@ -79,9 +79,9 @@ export default { }, }, NOTIFIED: { - id: async (parent) => { + id: async parent => { // serialize an ID to help the client update the cache return `${parent.reason}/${parent.from.id}/${parent.to.id}` - } - } + }, + }, }