update dependencies

This commit is contained in:
les
2019-12-06 11:30:41 +01:00
parent b80f0e790b
commit 1bc024a1c5
3 changed files with 403 additions and 462 deletions

View File

@@ -97,7 +97,7 @@ const Helpers = {
}
}
fedi_user = await fetch(URL, { headers: { 'Accept': 'application/jrd+json, application/json' } })
fedi_user = await fetch(URL, { headers: { Accept: 'application/jrd+json, application/json' } })
.then(res => {
if (!res.ok) {
debug('[ERR] Actor %s => %s', URL, res.statusText)
@@ -123,7 +123,7 @@ const Helpers = {
if (instance) { return instance }
}
instance = await fetch(`${instance_url}/api/v1/instance`, { headers: { 'Accept': 'application/json' } })
instance = await fetch(`${instance_url}/api/v1/instance`, { headers: { Accept: 'application/json' } })
.then(res => res.json())
.then(instance => {
const data = {