Merge branch 'dev' into feat/um-285-report-schema

This commit is contained in:
Brian Cao committed 2023-05-08 23:47:25 -07:00
commit dd2db308ee
7 files changed
+48 -42

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
import { Prisma, Team, TeamUser } from '@prisma/client';
import { getRandomChars } from 'next-basics';
import cache from 'lib/cache';
import { ROLES } from 'lib/constants';
import prisma from 'lib/prisma';
@@ -222,6 +223,7 @@ export async function deleteUser(
cloudMode
? client.user.update({
data: {
username: getRandomChars(32),
deletedAt: new Date(),
},
where: {