mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch 'feat-project-level-secrets' of https://github.com/appwrite/appwrite into feat-project-level-secrets
This commit is contained in:
+1
-2
@@ -533,9 +533,8 @@ $server->onMessage(function (int $connection, string $message) use ($server, $re
|
||||
$database->setDefaultDatabase(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
|
||||
|
||||
$projectId = $realtime->connections[$connection]['projectId'];
|
||||
|
||||
$database->setNamespace("_console");
|
||||
$project = Authorization::skip(fn() => $database->getDocument('projects', $realtime->connections[$connection]['projectId']));
|
||||
$project = Authorization::skip(fn() => $database->getDocument('projects', $projectId));
|
||||
|
||||
if ($projectId != 'console') {
|
||||
$filters = getFilters($project);
|
||||
|
||||
Generated
+1
-1
@@ -5379,5 +5379,5 @@
|
||||
"platform-overrides": {
|
||||
"php": "8.0"
|
||||
},
|
||||
"plugin-api-version": "2.2.0"
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user