]> git.mxchange.org Git - friendica.git/commitdiff
spelling: relationships
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 04:08:14 +0000 (00:08 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:14:16 +0000 (16:14 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Module/Api/Mastodon/Accounts/Relationships.php

index 4f759bf3d1036d34ee7577df3627dbee3e97b10f..074daa95d109f0724af6984bd977af71a1b1f629 100644 (file)
@@ -51,12 +51,12 @@ class Relationships extends BaseApi
                        $request['id'] = [$request['id']];
                }
 
-               $relationsships = [];
+               $relationships = [];
 
                foreach ($request['id'] as $id) {
-                       $relationsships[] = DI::mstdnRelationship()->createFromContactId($id, $uid);
+                       $relationships[] = DI::mstdnRelationship()->createFromContactId($id, $uid);
                }
 
-               System::jsonExit($relationsships);
+               System::jsonExit($relationships);
        }
 }