From 780a418254a4e018da0e2ce5203da20c45337292 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Fri, 1 Nov 2019 09:27:08 +0100 Subject: [PATCH] Fix lint --- backend/src/schema/resolvers/notifications.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}` - } - } + }, + }, }