p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

[BUG] - Exercises Inserted on failed mozart run #55

Closed KristianS93 closed 1 week ago

KristianS93 commented 2 weeks ago

Description

In relation to #46 when supplying a solution to mozart, the exercise is still added to the database even though the run fails, as it is inserted first. This should be changed.

We also have to change the input types to "ToLower" as this is only done on insert, and not on the run time object.

Reproduction steps

Try to create an exercise.

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

No response

OS

No response

KristianS93 commented 1 week ago

Will be closed in #50 and #52