From 2d104160f2f12f8473eee43f524e03a6ac13f9cc Mon Sep 17 00:00:00 2001
From: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com>
Date: Mon, 14 Aug 2023 17:37:05 +0530
Subject: [PATCH] refactor: revoke team invitation in admin dashboard (#3232)
---
.../backend/gql/mutations/RevokeTeamInvitation.graphql | 4 ++--
packages/hoppscotch-sh-admin/src/pages/teams/_id.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql
index a8652db46..f1e54b656 100644
--- a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql
+++ b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeTeamInvitation.graphql
@@ -1,3 +1,3 @@
mutation RevokeTeamInvitation($inviteID: ID!) {
- revokeTeamInvitation(inviteID: $inviteID)
-}
\ No newline at end of file
+ revokeTeamInviteByAdmin(inviteID: $inviteID)
+}
diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/_id.vue b/packages/hoppscotch-sh-admin/src/pages/teams/_id.vue
index bc5786b27..51eaf3d29 100644
--- a/packages/hoppscotch-sh-admin/src/pages/teams/_id.vue
+++ b/packages/hoppscotch-sh-admin/src/pages/teams/_id.vue
@@ -39,7 +39,7 @@
-
+