Add legacy notification endpoint for deprecated Notify entity

- Add dependencies to Notifications\Notification module class
This commit is contained in:
Hypolite Petovan 2022-03-03 09:07:37 -05:00
parent deafdcde95
commit b7cee324b0
7 changed files with 112 additions and 50 deletions

View file

@ -449,6 +449,8 @@ return [
'/{id:\d+}' => [Module\Notifications\Notification::class, [R::GET, R::POST]],
],
'/notify/{notify_id:\d+}' => [Module\Notifications\Notification::class, [R::GET]],
'/oauth' => [
'/acknowledge' => [Module\OAuth\Acknowledge::class, [R::GET, R::POST]],
'/authorize' => [Module\OAuth\Authorize::class, [R::GET]],