refactor: using property assignment
This commit is contained in:
1 parent
0d35bcfe38
commit
501f229d0e
3 files changed
+3511
-6
No files matched your search
@@ -37,8 +37,8 @@ export default async function handler(req, res) {
|
||||
|
||||
const user = await prisma.user.create({
|
||||
data: {
|
||||
username: username,
|
||||
email: email,
|
||||
username,
|
||||
email,
|
||||
password: hashedPassword
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user