diff --git a/mirage/config.js b/mirage/config.js index a76acf3a67a8235f28dc0c4a88e1840557686085..ea0282492c81bc23c76700cc0ea4836d663979c3 100644 --- a/mirage/config.js +++ b/mirage/config.js @@ -53,6 +53,25 @@ export default function() { } }); + this.get('/api/folders/1/', () => { + return { + "data": { + "type": "folders", + "id":"1", + "attributes": { + "title": ".inbox", + "created_at": "2021-11-24T20:54:38.833485+01:00", + "updated_at":"2021-11-24T20:54:38.833509+01:00" + }, + "relationships": { + "parent": { + "data":null + } + } + } + } + }); + this.get('/api/tags/', () => { return { "data": [