refactor: 💡 Return all storage buckets from mirage (#135)
This commit is contained in:
1 parent
a829727b1b
commit
3d6d474bd7
1 file changed
+1
-6
@@ -658,12 +658,7 @@ function routes() {
|
||||
});
|
||||
|
||||
// storage-buckets
|
||||
this.get(
|
||||
'/storage-buckets',
|
||||
({ storageBuckets }, { queryParams: { scope_id: scopeId } }) => {
|
||||
return storageBuckets.where({ scopeId });
|
||||
}
|
||||
);
|
||||
this.get('/storage-buckets');
|
||||
this.get('/storage-buckets/:id');
|
||||
this.del('/storage-buckets/:id');
|
||||
this.patch('/storage-buckets/:id');
|
||||
|
||||
Reference in new issue
Block a user