mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix(api-v1): add soft-delete filters and remove any types in database operation routes
This commit is contained in:
@@ -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),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user