feat!: added PDF and screenshot archive support

This commit is contained in:
Daniel
2023-03-09 01:01:24 +03:30
parent bd3b2f50f2
commit 0d5579b56d
17 changed files with 186 additions and 47 deletions
-6
View File
@@ -37,17 +37,11 @@ export default async function (
name: body.name,
email: body.email,
password: hashedPassword,
collections: {
create: {
name: "First Collection",
},
},
},
});
res.status(201).json({ message: "User successfully created." });
} else if (checkIfUserExists) {
console.log(checkIfUserExists);
res.status(400).json({ message: "User already exists." });
}
}