summaryrefslogtreecommitdiff
path: root/internal/processing/common/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/common/status.go')
-rw-r--r--internal/processing/common/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/common/status.go b/internal/processing/common/status.go
index 3ef643292..a1d432eb0 100644
--- a/internal/processing/common/status.go
+++ b/internal/processing/common/status.go
@@ -189,7 +189,7 @@ func (p *Processor) GetAPIStatus(
// such invalidation will, in that case, be handled by the processor instead.
func (p *Processor) InvalidateTimelinedStatus(ctx context.Context, accountID string, statusID string) error {
// Get lists first + bail if this fails.
- lists, err := p.state.DB.GetListsForAccountID(ctx, accountID)
+ lists, err := p.state.DB.GetListsByAccountID(ctx, accountID)
if err != nil {
return gtserror.Newf("db error getting lists for account %s: %w", accountID, err)
}