Skip to content

Commit 77bae56

Browse files
committed
fix: pass payload to workspace
1 parent 6c82e80 commit 77bae56

File tree

2 files changed

+598
-1261
lines changed

2 files changed

+598
-1261
lines changed

src/workspaces.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ const addWorkspace = (http, { name }) => {
3636

3737
return http.request({
3838
method: 'post',
39-
url: `/workspaces`
39+
url: `/workspaces`,
40+
data: {
41+
name
42+
}
4043
})
4144
}
4245

0 commit comments

Comments
 (0)