feat(core): Add onlySharedWithMe filter to GET /credentials endpoint (no-changelog) (#14885)

Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
Ricardo Espinoza
2025-05-02 13:08:30 -04:00
committed by GitHub
parent 8a30c35c33
commit e01bab58a5
5 changed files with 143 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ export class CredentialsController {
listQueryOptions: req.listQueryOptions,
includeScopes: query.includeScopes,
includeData: query.includeData,
onlySharedWithMe: query.onlySharedWithMe,
});
credentials.forEach((c) => {
// @ts-expect-error: This is to emulate the old behavior of removing the shared