mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-04 12:10:16 +08:00
clean up changes
This commit is contained in:
1 parent
9404654672
commit
62f326f51a
6 files changed
+7
-21
No files matched your search
@@ -12,7 +12,7 @@ export default async function handle(req, res) {
|
||||
const session = await getSession({ req });
|
||||
const result = await prisma.user.update({
|
||||
where: {
|
||||
email: session?.user?.email,
|
||||
email: session.user.email,
|
||||
},
|
||||
data: {
|
||||
name: username,
|
||||
|
||||
Reference in new issue
Block a user