fix: delete model error notification
This commit is contained in:
parent
df3484bdeb
commit
9c7ebc8778
@ -143,7 +143,7 @@ export const deleteModel = async (model: string) => {
|
|||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error(response.statusText)
|
throw new Error(response.statusText)
|
||||||
}
|
}
|
||||||
return response.json()
|
return "ok"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user