-12
appview/db/notifications.go
-12
appview/db/notifications.go
···-// GetNotifications retrieves notifications for a user with pagination (legacy method for backward compatibility)-func (d *DB) GetNotifications(ctx context.Context, userDID string, limit, offset int) ([]*models.Notification, error) {-// GetNotificationsWithEntities retrieves notifications with entities for a user with pagination-func (d *DB) GetNotificationsWithEntities(ctx context.Context, userDID string, limit, offset int) ([]*models.NotificationWithEntity, error) {
+3
-1
appview/notifications/notifications.go
+3
-1
appview/notifications/notifications.go
······+notifications, err := db.GetNotificationsWithEntities(n.db, page, db.FilterEq("recipient_did", userDid))
+8
-48
appview/notify/db/db.go
+8
-48
appview/notify/db/db.go
························