Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4125863 commit 2b2d029Copy full SHA for 2b2d029
site/src/api/api.ts
@@ -219,7 +219,7 @@ export const updateProfile = async (
219
}
220
221
export const suspendUser = async (userId: TypesGen.User["id"]): Promise<TypesGen.User> => {
222
- const response = await axios.put<TypesGen.User>(`/api/v2/users/${userId}/suspend`)
+ const response = await axios.put<TypesGen.User>(`/api/v2/users/${userId}/status/suspend`)
223
return response.data
224
225
0 commit comments