patches v1.0.2 #39

Merged
jkeffects merged 9 commits from develop into main 2025-01-13 10:22:29 +00:00
Showing only changes of commit c9b8c3090d - Show all commits

View file

@ -31,7 +31,7 @@ export default abstract class MembershipCommandHandler {
.createQueryBuilder()
.update(membership)
.set({
end: new Date(createMembership.start).setDate(new Date(createMembership.start).getDate() - 1),
end: new Date(new Date(createMembership.start).setDate(new Date(createMembership.start).getDate() - 1)),
terminationReason: "beendet durch neuen Eintrag.",
})
.where("end IS NULL")