feat(children): support soft delete child profiles
This commit is contained in:
@@ -88,3 +88,9 @@ export async function updateChild(
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
export async function deleteChild(childId: number): Promise<void> {
|
||||
return request<void>(`/banban/children/${childId}`, {
|
||||
method: 'DELETE',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user