diff --git a/app/config/services.php b/app/config/services.php index 16a0bd6901..c05a917a58 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -335,7 +335,7 @@ return [ 'tests' => true, 'optional' => false, 'icon' => '', - 'platforms' => ['client', 'server', 'console'], + 'platforms' => ['console'], ], 'advisor' => [ 'key' => 'advisor', diff --git a/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/Update.php b/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/Update.php index 9ca7b6b683..01f6bb3c85 100644 --- a/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/Update.php +++ b/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/Update.php @@ -37,7 +37,7 @@ class Update extends Action group: null, name: 'update', description: '/docs/references/notifications/update-notification.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, diff --git a/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/XList.php b/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/XList.php index 558190d99a..1a8c78a546 100644 --- a/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/XList.php +++ b/src/Appwrite/Platform/Modules/Notifications/Http/Notifications/XList.php @@ -39,7 +39,7 @@ class XList extends Action group: null, name: 'list', description: '/docs/references/notifications/list-notifications.md', - auth: [AuthType::SESSION, AuthType::JWT], + auth: [AuthType::ADMIN], responses: [ new SDKResponse( code: Response::STATUS_CODE_OK,