port relationship change to pleroma-fe
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
eaa287d39d
commit
dba3cbdc54
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ const fetchUserByName = ({ name, credentials }) => {
|
|||
}
|
||||
|
||||
const fetchUserRelationship = ({ id, credentials }) => {
|
||||
const url = `${MASTODON_USER_RELATIONSHIPS_URL}/?id=${id}`
|
||||
const url = `${MASTODON_USER_RELATIONSHIPS_URL}/?id=${id?.id ?? id}`
|
||||
return fetch(url, { headers: authHeaders(credentials) })
|
||||
.then((response) => {
|
||||
return new Promise((resolve, reject) => response.json()
|
||||
|
|
Loading…
Reference in a new issue