summaryrefslogtreecommitdiff
path: root/internal/processing/status/fave.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-07-09 18:32:48 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-09 18:32:48 +0200
commitc7da64922f8b41daaee1cb8fc2961f7fa1336737 (patch)
treeb1f9c946bd223267f87f2a77a7455974d8d5e5e9 /internal/processing/status/fave.go
parentDocs (#94) (diff)
downloadgotosocial-c7da64922f8b41daaee1cb8fc2961f7fa1336737.tar.xz
favourites GET implementation (#95)
Diffstat (limited to 'internal/processing/status/fave.go')
-rw-r--r--internal/processing/status/fave.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/status/fave.go b/internal/processing/status/fave.go
index 23f0d2944..0dfee6233 100644
--- a/internal/processing/status/fave.go
+++ b/internal/processing/status/fave.go
@@ -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)
}