fix: multiple request created on teams (closes #2455)

This commit is contained in:
Andrew Bastin
2022-09-07 00:41:08 +05:30
parent a75e755ebd
commit 77a561b581
3 changed files with 41 additions and 0 deletions

View File

@@ -208,6 +208,8 @@ export const runGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
})
}
// TODO: The subscription system seems to be firing multiple updates for certain subscriptions.
// Make sure to handle cases if the subscription fires with the same update multiple times
export const runGQLSubscription = <
DocType,
DocVarType,