From a4284b115f2addb7a8f908d3dbb98c8c83ab3e56 Mon Sep 17 00:00:00 2001 From: Stefan Pletka <124689083+Eisei24@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:33:59 +0200 Subject: [PATCH] Get the data from the correct database --- backend/pkg/api/data_access/notifications.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/api/data_access/notifications.go b/backend/pkg/api/data_access/notifications.go index 30eaeafeb..2bf6d619f 100644 --- a/backend/pkg/api/data_access/notifications.go +++ b/backend/pkg/api/data_access/notifications.go @@ -245,7 +245,7 @@ func (d *DataAccessService) GetNotificationOverview(ctx context.Context, userId return err } - err = d.alloyReader.GetContext(ctx, &response, querySql, args...) + err = d.userReader.GetContext(ctx, &response, querySql, args...) return err })