8 lines
215 B
TypeScript
8 lines
215 B
TypeScript
|
|
import { sendRequest } from 'utils'
|
||
|
|
|
||
|
|
export const deleteMemberQuery = (workspaceId: string, userId: string) =>
|
||
|
|
sendRequest({
|
||
|
|
method: 'DELETE',
|
||
|
|
url: `/api/workspaces/${workspaceId}/members/${userId}`,
|
||
|
|
})
|