diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 07:34:53 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 07:34:53 +0100 |
| commit | b2fc10f4d7bba8489a6c98a206d4a51874c19234 (patch) | |
| tree | 1b31e71a33cebfdaa083f6c7fb2cd1b46f9eaac6 | |
| parent | e7a3c21528d25a1f200ee8fe17e40f6c41e11203 (diff) | |
content type
| -rw-r--r-- | bucky/app/federate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/federate.js b/bucky/app/federate.js index 41b1164..f4490c6 100644 --- a/bucky/app/federate.js +++ b/bucky/app/federate.js @@ -53,7 +53,7 @@ module.exports = { var json = data.toJSON() fetch("https://bucky.asdf.us/raw/import/" + type, { method: 'PUT', - data: json, + body: json, headers: { 'content-type': 'application/json; charset=utf-8' }, }).then(() => {}) } |
