refactor: using property assignment

This commit is contained in:
Chris Benseler committed 2021-04-17 17:12:09 -03:00
1 parent 0d35bcfe38
commit 501f229d0e
3 files changed
+3511 -6

No files matched your search

+2 -2
View File
@@ -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
}
});