This commit is contained in:
Nicola Galgano 2023-09-25 09:40:31 +02:00 committed by GitHub
parent 96ebe540db
commit ca80fc07b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -59,7 +59,6 @@ final class Privacy extends CMSPlugin
$routes = [
new Route(['GET'], 'v1/privacy/consents', 'consents.displayList', [], $getDefaults),
new Route(['GET'], 'v1/privacy/consents/:id', 'consents.displayItem', ['id' => '(\d+)'], $getDefaults),
new Route(['DELETE'], 'v1/privacy/consents/:id', 'consents.delete', ['id' => '(\d+)'], $defaults),
];
$router->addRoutes($routes);