fix: invitation acceptance flow
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
watchEffect,
|
||||
watchSyncEffect,
|
||||
WatchStopHandle,
|
||||
set,
|
||||
} from "@nuxtjs/composition-api"
|
||||
import {
|
||||
createClient,
|
||||
@@ -222,7 +223,8 @@ export const useGQLQuery = <DocType, DocVarType, DocErrorType extends string>(
|
||||
|
||||
const execute = (updatedVars?: DocVarType) => {
|
||||
if (updatedVars) {
|
||||
args.variables = updatedVars as any
|
||||
set(args, "variables", updatedVars)
|
||||
// args.variables = updatedVars as any
|
||||
}
|
||||
|
||||
isPaused.value = false
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
query GetInviteDetails($inviteID: ID!) {
|
||||
teamInvitation(inviteID: $inviteID) {
|
||||
id
|
||||
inviteeEmail
|
||||
inviteeRole
|
||||
team {
|
||||
id
|
||||
name
|
||||
}
|
||||
creator {
|
||||
uid
|
||||
displayName
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user