Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-01-24 23:07:45 +01:00
parent 61fa33739d
commit 4241b67771
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ TARGET="pleroma@froth.zone:/opt/pleroma-zero"
#rsync -ra public/ "${TARGET}/instance/static"
#cp dist/index.html "${TARGET}/instance/static/index.html"
rsync --update -Pr dist/ "${TARGET}"
rsync --update --delete -Pr dist/ "${TARGET}"
#rsync --update -ra dist/static/ "${TARGET}/instance/static/static"
#rsync --delete -ra images/ "${TARGET}/instance/static/images"
#rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"

View file

@ -304,7 +304,7 @@ const fetchUser = ({ id, credentials }) => {
}
const fetchUserRelationship = ({ id, credentials }) => {
let url = `${MASTODON_USER_RELATIONSHIPS_URL}/?id=${id?.id ?? id}`
let url = `${MASTODON_USER_RELATIONSHIPS_URL}/?id=${id.id}`
return fetch(url, { headers: authHeaders(credentials) })
.then((response) => {
return new Promise((resolve, reject) => response.json()