Fix UI throwing an error while editing an existing assignment
Description
Fixes #175 (closed) by updating the assignment controller. Fixes were also required in the UI, which are on development right now.
Changes
- The assignment GET endpoint properly sends the assignment's supported languages
- The assignment PUT endpoint replaces the settings instead of appending new settings
Additions
None.
Test and Review
Closes #175 (closed)
To be filled in by the reviewers
-
All of the methods are commented to expectation -
The methods are tested to satisfaction -
There are no unnecessary files present in the MR -
The continuous integration has no problems with the MR -
The MR is filled in as requested (including labels, milestones, and reviewers) -
The documentation is up-to-date -
All nullable parameters are marked as such