list keys

This commit is contained in:
Hemachandar
2025-12-23 14:50:24 +05:30
parent e286037ce8
commit 7eb9840c47
+7 -1
View File
@@ -1549,7 +1549,13 @@ App::get('/v1/projects/:projectId/keys')
}
$keys = $dbForPlatform->find('keys', [
Query::equal('projectInternalId', [$project->getSequence()]),
Query::or([
Query::equal('projectInternalId', [$project->getSequence()]),
Query::and([
Query::equal('resourceType', ['projects']),
Query::equal('resourceInternalId', [$project->getSequence()]),
])
]),
Query::limit(5000),
]);