Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSCEXAM-1333 Fix handling of query params / reservation removal #1109

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

lupari
Copy link
Collaborator

@lupari lupari commented Jun 4, 2024

No description provided.

@lupari lupari requested a review from VirmasaloA June 4, 2024 15:37
@@ -140,28 +141,24 @@ public Result getTeachers(Optional<String> filter) {

@Restrict({ @Group("ADMIN") })
public CompletionStage<Result> removeReservation(long id, Http.Request request) throws NotFoundException {
var msg = request.body().asJson().get("msg").asText("");
var enrolment = DB.find(ExamEnrolment.class).where().eq("reservation.id", id).findOne();
Copy link
Collaborator

@VirmasaloA VirmasaloA Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jos kerta päivittelee noita var muuttujii pois nii eiks nää muutki vois?

@lupari lupari merged commit e2ec1d5 into dev Jun 7, 2024
5 checks passed
@lupari lupari deleted the CSCEXAM-1333 branch June 7, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants