Merge branch 'develop' into release-candidate

This commit is contained in:
grandeljay 2022-04-07 20:37:01 +02:00
commit 518be1b854
2 changed files with 5 additions and 0 deletions

View file

@ -90,6 +90,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
SET `status` = "' . $_PUT['wish_status'] . '"
WHERE `id` = ' . $_PUT['wish_id'] . '
;');
$response['success'] = true;
} elseif (isset($_PUT['wish_url_current'], $_PUT['wish_url_proposed'])) {
/**
* Update Wish URL
@ -98,6 +100,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
SET `url` = "' . $_PUT['wish_url_proposed'] . '"
WHERE `url` = "' . $_PUT['wish_url_current'] . '"
;');
$response['success'] = true;
}
break;

View file

@ -101,6 +101,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
WHERE `id` = ' . $_PUT['wishlist_id'] . '
;');
$response['success'] = true;
break;
case 'DELETE':