mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 22:53:07 +02:00
fix: relationships not working on some clients
This commit is contained in:
parent
b596a4978f
commit
cd1083cc30
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ export class MastodonApiServerService {
|
|||
// displayed without being logged in
|
||||
let users;
|
||||
try {
|
||||
let ids = _request.query ? (_request.query as any)['id[]'] : null;
|
||||
let ids = _request.query ? (_request.query as any)['id[]'] ?? (_request.query as any)['id'] : null;
|
||||
if (typeof ids === 'string') {
|
||||
ids = [ids];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue