mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-08 14:33:16 -06:00
grrr linter
This commit is contained in:
parent
880dd899a1
commit
8bee4508a5
2 changed files with 1 additions and 6 deletions
|
|
@ -151,8 +151,7 @@ func (s *statusEditDB) PutStatusEdit(ctx context.Context, edit *gtsmodel.StatusE
|
|||
func (s *statusEditDB) DeleteStatusEdits(ctx context.Context, ids []string) error {
|
||||
// Gather necessary fields from
|
||||
// deleted for cache invalidation.
|
||||
var deleted []*gtsmodel.StatusEdit
|
||||
deleted = make([]*gtsmodel.StatusEdit, 0, len(ids))
|
||||
deleted := make([]*gtsmodel.StatusEdit, 0, len(ids))
|
||||
|
||||
// Delete all edits with IDs pertaining
|
||||
// to given slice, returning status IDs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue