diff options
Diffstat (limited to 'internal/db/bundb/mention.go')
-rw-r--r-- | internal/db/bundb/mention.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/mention.go b/internal/db/bundb/mention.go index 067f0d676..e2c83ef3f 100644 --- a/internal/db/bundb/mention.go +++ b/internal/db/bundb/mention.go @@ -22,9 +22,9 @@ import ( "context" "codeberg.org/gruf/go-cache/v2" - "github.com/sirupsen/logrus" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" + "github.com/superseriousbusiness/gotosocial/internal/log" "github.com/uptrace/bun" ) @@ -72,7 +72,7 @@ func (m *mentionDB) GetMentions(ctx context.Context, ids []string) ([]*gtsmodel. // Attempt fetch from DB mention, err := m.GetMention(ctx, id) if err != nil { - logrus.Errorf("GetMentions: error getting mention %q: %v", id, err) + log.Errorf("GetMentions: error getting mention %q: %v", id, err) continue } |