Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: revoke team invitation in admin dashboard (#3232)

Joel Jacob Stephen2d104160f2f1
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 @@
<TeamsMembers @update-team="updateTeam()" class="py-8 px-4" />
</HoppSmartTab>
<HoppSmartTab :id="'invites'" :label="t('teams.invites')">
- <TeamsPendingInvites :editingTeamID="team.id" class="py-8 px-4" />
+ <TeamsPendingInvites :editingTeamID="team.id" />
</HoppSmartTab>
</HoppSmartTabs>