fix(api-v1): add soft-delete filters and remove any types in database operation routes

This commit is contained in:
charles-gauthereau
2026-05-25 15:18:55 +02:00
parent 39b6b5e116
commit 274aded8fd
3 changed files with 11 additions and 6 deletions
@@ -34,7 +34,7 @@ export const GET = withApiKey(
),
with: {
storages: {
where: (bs: any, { isNull: isNullFn }: any) => isNullFn(bs.deletedAt),
where: (bs, { isNull }) => isNull(bs.deletedAt),
},
},
});