Improve Snackbar

This commit is contained in:
2024-11-14 09:33:45 +01:00
parent c0d110f386
commit ae577dc023
12 changed files with 192 additions and 209 deletions

View File

@@ -88,16 +88,6 @@ account.post("/", async (req: Request, res: Response) => {
.then(account => {
// Status: 201 Created
res.status(201).json(account)
// Check exercise in table
Exercise.update(
{ solved: true },
{
where: {
nameEn: "Register"
}
}
)
}).catch(reason => {
// Status: 409 Conflict
res.status(409).json({