feat: soft-delete transfered documents
This commit is contained in:
@@ -36,6 +36,7 @@ export const deleteUser = async ({ email }: DeleteUserOptions) => {
|
|||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
userId: defaultDeleteUser.id,
|
userId: defaultDeleteUser.id,
|
||||||
|
deletedAt: new Date(),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user