29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-16 17:12:54 +00:00
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

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);