From 5afa0c334a3d6c30c90e4c275aa5e599d3359451 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 8 Apr 2024 15:49:54 -1000 Subject: [PATCH] Remove unnecessary undefined --- server/api/api/v1/notifications/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/api/v1/notifications/index.ts b/server/api/api/v1/notifications/index.ts index be83f559..b16770fa 100644 --- a/server/api/api/v1/notifications/index.ts +++ b/server/api/api/v1/notifications/index.ts @@ -73,7 +73,7 @@ export default apiRoute<{ gt: min_id ?? undefined, }, notifiedId: user.id, - accountId: account_id || undefined, + accountId: account_id, }, include: { account: {