|
|
@@ -265,7 +265,7 @@ class ApiController implements LoggerAwareInterface
|
|
|
* Proceeds to a soft-deletion of the organization's website
|
|
|
*
|
|
|
* In the case of a hard deletion, a special header is requested as a confirmation token. The header
|
|
|
- * shall be named 'CONFIRMATION_TOKEN' and its value shall be DEL-XXXX-YYYYMMDD, where XXXX is the id of
|
|
|
+ * shall be named 'Confirmation-Token' and its value shall be DEL-XXXX-YYYYMMDD, where XXXX is the id of
|
|
|
* the organization owning the website, and YYYYMMDD is the date of the current day.
|
|
|
*
|
|
|
* @param ServerRequest $request
|
|
|
@@ -293,8 +293,8 @@ class ApiController implements LoggerAwareInterface
|
|
|
" (organization: " . $organizationId . ")"));
|
|
|
|
|
|
$msg = $hard ?
|
|
|
- "The website with root uid " . $rootUid . " has been soft-deleted. Use the /site/undelete route to restore it." :
|
|
|
- "The website with root uid " . $rootUid . " has been hard-deleted.";
|
|
|
+ "The website with root uid " . $rootUid . " has been hard-deleted." :
|
|
|
+ "The website with root uid " . $rootUid . " has been soft-deleted. Use the /site/undelete route to restore it.";
|
|
|
|
|
|
return new JsonResponse(
|
|
|
[
|