feat: 🎸 Add first iteration for list credential store

First iteration adding credential store list crud operations
This commit is contained in:
Carlos Alcaide committed 2021-07-09 10:39:42 -07:00
1 parent cd10c30ca8
commit 986cde5941
10 files changed
+108

No files matched your search

+8
View File
@@ -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));