From d42a7da75b04b5edc8e3c1b9dc7cb6fc141ce06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Mon, 11 Aug 2025 12:49:10 +0200 Subject: [PATCH] fixed typescript error --- app/lib/actions/billActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/actions/billActions.ts b/app/lib/actions/billActions.ts index e4220af..f618d7b 100644 --- a/app/lib/actions/billActions.ts +++ b/app/lib/actions/billActions.ts @@ -402,7 +402,7 @@ export const deleteBillById = withUser(async (user:AuthenticatedUser, locationID filter: { _id: loc._id, userId }, update: { $pull: { - bills: { name: bill.name } + bills: { name: bill.name } as Partial } } }