Skip to content

Commit 16f89f1

Browse files
committed
fix(workspaces): set headers for update method, fixes #24
1 parent 85877f3 commit 16f89f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/workspaces.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class Workspaces {
6464
return this._http.request({
6565
method: 'patch',
6666
url: `/workspaces/${id}`,
67+
headers: {
68+
'Content-Type': 'application/json'
69+
},
6770
data
6871
})
6972
}

0 commit comments

Comments
 (0)