From 715ef1a2e0871553a59b4b55951d8098f1b6ef07 Mon Sep 17 00:00:00 2001 From: remoterami <142154971+remoterami@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:45:41 +0200 Subject: [PATCH] returning dummy data for development --- backend/pkg/api/data_access/notifications.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/pkg/api/data_access/notifications.go b/backend/pkg/api/data_access/notifications.go index abd43c872..bb6f5454a 100644 --- a/backend/pkg/api/data_access/notifications.go +++ b/backend/pkg/api/data_access/notifications.go @@ -252,6 +252,10 @@ func (d *DataAccessService) GetNotificationOverview(ctx context.Context, userId } func (d *DataAccessService) GetDashboardNotifications(ctx context.Context, userId uint64, chainIds []uint64, cursor string, colSort t.Sort[enums.NotificationDashboardsColumn], search string, limit uint64) ([]t.NotificationDashboardsTableRow, *t.Paging, error) { + // dev hack; TODO remove + if userId == 127504 { + return d.dummy.GetDashboardNotifications(ctx, userId, chainIds, cursor, colSort, search, limit) + } response := []t.NotificationDashboardsTableRow{} var err error