Add frontend for accepting group invitations

For #887
This commit is contained in:
Massedil
2025-11-05 17:33:15 +01:00
committed by setop
parent bbeb8d5fae
commit cea2235321
6 changed files with 215 additions and 4 deletions

View File

@@ -35,3 +35,16 @@ export const GROUP_INVITATIONS_DELETE = gql`
}
}
`;
export const GROUP_INVITATIONS_ACCEPT = gql`
mutation acceptInvitationToken(
$groupId: ID!
$token: String!
$actorId: ID!
) {
acceptInvitationToken(groupId: $groupId, token: $token, actorId: $actorId) {
id
role
}
}
`;