Update relay URL when unfollowing a relay

This commit is contained in:
Angelina Filippova 2020-08-17 23:44:29 +03:00
parent 9c646f859d
commit 2eb1d2b840

View file

@ -27,7 +27,7 @@ export async function deleteRelay(relay, authHost, token) {
url: '/api/pleroma/admin/relay',
method: 'delete',
headers: authHeaders(token),
data: { relay_url: `https://${relay}/actor` }
data: { relay_url: `https://${relay}` }
})
}