Skip to content

Commit

Permalink
fix(datastore): explicitly set content-type when updating'
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 16, 2021
1 parent af2eccb commit 1a4892b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/datastore/BaseStoreNamespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ class BaseStoreNamespace {
update(key, value) {
return this.api.update(
[this.endPoint, this.namespace, key].join('/'),
value
value,
false,
{
headers: { 'Content-Type': 'application/json' },
}
)
}
}
Expand Down

0 comments on commit 1a4892b

Please sign in to comment.