Fix empty failure response

This commit is contained in:
grandeljay 2022-04-07 18:08:32 +02:00
parent 2ddb1400da
commit 71a35338d6
2 changed files with 3 additions and 0 deletions

View file

@ -109,6 +109,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
WHERE `id` = ' . $_DELETE['wish_id'] . ' WHERE `id` = ' . $_DELETE['wish_id'] . '
;'); ;');
} }
$response['success'] = true;
break; break;
} }

View file

@ -110,6 +110,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
WHERE `id` = ' . $_DELETE['wishlistID'] . ' WHERE `id` = ' . $_DELETE['wishlistID'] . '
;'); ;');
$response['success'] = true;
break; break;
} }