clean-up edit forms, removed unused params

This commit is contained in:
Francis Cao
2024-02-06 12:25:21 -08:00
parent 3277b65993
commit 74ea4f511e
4 changed files with 11 additions and 19 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ async function findUser(
...criteria,
where: {
...criteria.where,
...(showDeleted && { delatedAt: null }),
...(showDeleted && { deletedAt: null }),
},
select: {
id: true,