MCPcopy Create free account
hub / github.com/GmpABR/NexusFlow / getWorkspaceInvitations

Function getWorkspaceInvitations

frontend/src/api/workspaces.ts:85–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83};
84
85export const getWorkspaceInvitations = async () => {
86 const response = await api.get<Workspace[]>('/workspaces/invitations');
87 return response.data;
88};
89
90export const respondToWorkspaceInvitation = async (workspaceId: number, accept: boolean) => {
91 await api.post(`/workspaces/${workspaceId}/respond`, { accept });

Callers 3

fetchInvitesFunction · 0.90
AppNavbarFunction · 0.90
fetchDataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected