diff options
Diffstat (limited to 'src/features/workspaces/api.js')
-rw-r--r-- | src/features/workspaces/api.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/features/workspaces/api.js b/src/features/workspaces/api.js new file mode 100644 index 000000000..1ee2440fe --- /dev/null +++ b/src/features/workspaces/api.js | |||
@@ -0,0 +1,9 @@ | |||
1 | // TODO: use real server instead | ||
2 | const workspaces = [ | ||
3 | { id: 'workspace-1', name: 'Private' }, | ||
4 | { id: 'workspace-2', name: 'Office' }, | ||
5 | ]; | ||
6 | |||
7 | export default { | ||
8 | getUserWorkspaces: () => Promise.resolve(workspaces), | ||
9 | }; | ||