Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: proper type for ID
liyasthomas2a012520d0bc
diff --git a/packages/hoppscotch-app/helpers/teams/utils.js b/packages/hoppscotch-app/helpers/teams/utils.jsindex 1772ed323..68226bd58 100644--- a/packages/hoppscotch-app/helpers/teams/utils.js+++ b/packages/hoppscotch-app/helpers/teams/utils.js@@ -158,7 +158,7 @@ export function updateTeamMemberRole(apollo, userID, newRole, teamID) {mutation: gql`mutation updateTeamMemberRole($newRole: TeamMemberRole!- $userUid: String!+ $userUid: ID!$teamID: ID!) {updateTeamMemberRole(@@ -197,7 +197,7 @@ export function renameTeam(apollo, name, teamID) {export function removeTeamMember(apollo, userID, teamID) {return apollo.mutate({mutation: gql`- mutation removeTeamMember($userUid: String!, $teamID: ID!) {+ mutation removeTeamMember($userUid: ID!, $teamID: ID!) {removeTeamMember(userUid: $userUid, teamID: $teamID)}`,