summaryrefslogtreecommitdiff
path: root/bucky
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-15 07:34:53 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-15 07:34:53 +0100
commitb2fc10f4d7bba8489a6c98a206d4a51874c19234 (patch)
tree1b31e71a33cebfdaa083f6c7fb2cd1b46f9eaac6 /bucky
parente7a3c21528d25a1f200ee8fe17e40f6c41e11203 (diff)
content type
Diffstat (limited to 'bucky')
-rw-r--r--bucky/app/federate.js2
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(() => {})
}