feat: 🎸 Add first iteration for list credential store
First iteration adding credential store list crud operations
This commit is contained in:
1 parent
cd10c30ca8
commit
986cde5941
10 files changed
+108
No files matched your search
@@ -456,6 +456,14 @@ export default function () {
|
||||
return new Response(200);
|
||||
});
|
||||
|
||||
// credential-stores
|
||||
|
||||
this.get(
|
||||
'/credential-stores',
|
||||
({ credentialStores }, { queryParams: { scope_id: scopeId } }) =>
|
||||
credentialStores.where({ scopeId })
|
||||
);
|
||||
|
||||
/* Uncomment the following line and the Response import above
|
||||
* Then change the response code to simulate error responses.
|
||||
* this.get('/scopes', () => new Response(505));
|
||||
|
||||
Reference in new issue
Block a user