mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 06:14:26 +02:00
Fixed message, relationships endpoint added
This commit is contained in:
parent
6175b065ec
commit
6a5083d918
10 changed files with 73 additions and 14 deletions
|
@ -48,7 +48,7 @@ class Bookmark extends BaseApi
|
|||
}
|
||||
|
||||
if ($item['gravity'] != GRAVITY_PARENT) {
|
||||
DI::mstdnError()->UnprocessableEntity(DI::l10n()->t('Only starting post can be bookmarked'));
|
||||
DI::mstdnError()->UnprocessableEntity(DI::l10n()->t('Only starting posts can be bookmarked'));
|
||||
}
|
||||
|
||||
Item::update(['starred' => true], ['id' => $item['id']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue