mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-18 05:13:01 -06:00
favourites GET implementation
This commit is contained in:
parent
c5180b3860
commit
53c0bfbec3
16 changed files with 491 additions and 127 deletions
|
|
@ -60,7 +60,7 @@ func (p *processor) Fave(account *gtsmodel.Account, targetStatusID string) (*api
|
|||
}
|
||||
|
||||
if newFave {
|
||||
thisFaveID, err := id.NewRandomULID()
|
||||
thisFaveID, err := id.NewULID()
|
||||
if err != nil {
|
||||
return nil, gtserror.NewErrorInternalError(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue