Fixed message, relationships endpoint added

This commit is contained in:
Michael 2021-05-15 10:55:41 +00:00
parent 6175b065ec
commit 6a5083d918
10 changed files with 73 additions and 14 deletions

View file

@ -47,7 +47,7 @@ class Pin extends BaseApi
}
if ($item['gravity'] != GRAVITY_PARENT) {
DI::mstdnError()->UnprocessableEntity(DI::l10n()->t('Only starting post can be pinned'));
DI::mstdnError()->UnprocessableEntity(DI::l10n()->t('Only starting posts can be pinned'));
}
Post\ThreadUser::setPinned($parameters['id'], $uid, true);