Skip to content

Commit

Permalink
Merge pull request #31 from Typeform/fix-add-workspace
Browse files Browse the repository at this point in the history
fix: pass payload to workspace
  • Loading branch information
jepser authored Apr 8, 2019
2 parents 6c82e80 + 77bae56 commit 93c61c9
Show file tree
Hide file tree
Showing 2 changed files with 598 additions and 1,261 deletions.
5 changes: 4 additions & 1 deletion src/workspaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const addWorkspace = (http, { name }) => {

return http.request({
method: 'post',
url: `/workspaces`
url: `/workspaces`,
data: {
name
}
})
}

Expand Down
Loading

0 comments on commit 93c61c9

Please sign in to comment.