wip: what if user ids were strings instead of numbers

This commit is contained in:
Mythie
2025-01-03 16:23:35 +11:00
parent 18ca0cf3d6
commit b685190b1a
134 changed files with 775 additions and 246 deletions

View File

@ -45,7 +45,7 @@ export const seedUser = async ({
});
};
export const unseedUser = async (userId: number) => {
export const unseedUser = async (userId: string) => {
await prisma.user.delete({
where: {
id: userId,