spelling: relationships
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e71ad738d9
commit
8f93684cd0
1 changed files with 3 additions and 3 deletions
|
@ -51,12 +51,12 @@ class Relationships extends BaseApi
|
||||||
$request['id'] = [$request['id']];
|
$request['id'] = [$request['id']];
|
||||||
}
|
}
|
||||||
|
|
||||||
$relationsships = [];
|
$relationships = [];
|
||||||
|
|
||||||
foreach ($request['id'] as $id) {
|
foreach ($request['id'] as $id) {
|
||||||
$relationsships[] = DI::mstdnRelationship()->createFromContactId($id, $uid);
|
$relationships[] = DI::mstdnRelationship()->createFromContactId($id, $uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
System::jsonExit($relationsships);
|
System::jsonExit($relationships);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue