diff options
Diffstat (limited to 'internal/db/bundb/statusedit.go')
| -rw-r--r-- | internal/db/bundb/statusedit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/statusedit.go b/internal/db/bundb/statusedit.go index ed62c64f1..a896284d8 100644 --- a/internal/db/bundb/statusedit.go +++ b/internal/db/bundb/statusedit.go @@ -96,8 +96,8 @@ func (s *statusEditDB) GetStatusEditsByIDs(ctx context.Context, ids []string) ([ return nil, err } - // Reorder the edits by their - // IDs to ensure in correct order. + // Reorder the edits by their IDs to ensure in correct + // order (ID ascending, ie., latest to oldest edit). getID := func(e *gtsmodel.StatusEdit) string { return e.ID } xslices.OrderBy(edits, ids, getID) |
