Skip to content
Snippets Groups Projects
Verified Commit 2569e0d5 authored by Adrian Paschkowski's avatar Adrian Paschkowski :thinking:
Browse files

Fix group token updates being sent to all clients

parent 4f51e931
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ export class GroupResolver { ...@@ -27,7 +27,7 @@ export class GroupResolver {
@Subscription(() => Group, { @Subscription(() => Group, {
filter: (payload, variables) => filter: (payload, variables) =>
payload.updateToken.code === variables.groupCode, payload.updateToken.slug === variables.groupSlug,
}) })
async updateToken( async updateToken(
@Args({ name: 'groupSlug', type: () => GraphQLString }) @Args({ name: 'groupSlug', type: () => GraphQLString })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment