fix: prevent timeout
This commit is contained in:
parent
16c807b514
commit
92a5b575c3
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ export class BackupController extends Controller {
|
||||||
@Delete("delete")
|
@Delete("delete")
|
||||||
async deleteBackup(@Body() body: { name: string }) {
|
async deleteBackup(@Body() body: { name: string }) {
|
||||||
await fetch(
|
await fetch(
|
||||||
`${WINDMILL_URL}/api/w/${WINDMILL_WORKSPACE}/jobs/run_wait_result/p/${WINDMILL_BACKUP_DELETE_SCRIPT_PATH}`,
|
`${WINDMILL_URL}/api/w/${WINDMILL_WORKSPACE}/jobs/run/p/${WINDMILL_BACKUP_DELETE_SCRIPT_PATH}`,
|
||||||
{
|
{
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue