summaryrefslogtreecommitdiff
path: root/internal/db/bundb/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/notification.go')
-rw-r--r--internal/db/bundb/notification.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/notification.go b/internal/db/bundb/notification.go
index f5ea099de..5e825d096 100644
--- a/internal/db/bundb/notification.go
+++ b/internal/db/bundb/notification.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"
)
type notificationDB struct {
@@ -98,7 +98,7 @@ func (n *notificationDB) GetNotifications(ctx context.Context, accountID string,
// Attempt fetch from DB
notif, err := n.GetNotification(ctx, id)
if err != nil {
- logrus.Errorf("GetNotifications: error getting notification %q: %v", id, err)
+ log.Errorf("GetNotifications: error getting notification %q: %v", id, err)
continue
}