Skip to content

Commit

Permalink
Add missing unsubscribe mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
thenav56 committed Dec 18, 2024
1 parent 31a3999 commit ac7247c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main/graphql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class PrivateQuery(
@strawberry.type
class PublicMutation(
user_mutations.PublicMutation,
subscription_mutations.PublicMutation,
):
id: strawberry.ID = strawberry.ID('public')

Expand Down
6 changes: 6 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ type PublicMutation {
accountActivation(data: UserActivationInput!): MutationEmptyResponseType!
passwordResetTrigger(data: UserPasswordResetTriggerInput!): MutationEmptyResponseType!
passwordResetConfirm(data: UserPasswordResetConfirmInput!): MutationEmptyResponseType!
unsubscribeUserAlertSubscription(data: UserAlertSubscriptionUnsubscribeInput!): MutationEmptyResponseType!
id: ID!
}

Expand Down Expand Up @@ -762,6 +763,11 @@ type UserAlertSubscriptionTypeMutationResponseType {
result: UserAlertSubscriptionType
}

input UserAlertSubscriptionUnsubscribeInput {
uuid: String!
token: String!
}

input UserLoginInput {
email: String!
password: String!
Expand Down

0 comments on commit ac7247c

Please sign in to comment.