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

Function updateWorkspace

frontend/src/api/workspaces.ts:76–79  ·  view source on GitHub ↗
(workspaceId: number, data: UpdateWorkspaceDto)

Source from the content-addressed store, hash-verified

74};
75
76export const updateWorkspace = async (workspaceId: number, data: UpdateWorkspaceDto) => {
77 const response = await api.put<Workspace>(`/workspaces/${workspaceId}`, data);
78 return response.data;
79};
80
81export const updateWorkspaceMemberRole = async (workspaceId: number, userId: number, role: string) => {
82 await api.put(`/workspaces/${workspaceId}/members/${userId}/role`, { role });

Callers 1

handleSaveSettingsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected