From b2fc10f4d7bba8489a6c98a206d4a51874c19234 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 15 Dec 2017 07:34:53 +0100 Subject: content type --- bucky/app/federate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(() => {}) } -- cgit v1.2.3-70-g09d2