Disable registration when Event is ended.

This commit is contained in:
Phillip Kühne 2020-10-03 23:51:27 +02:00
parent 9b31131d5b
commit 8c19de74c2

View File

@ -17,6 +17,7 @@ export class RpcController {
@Get("/end_event")
doEndEvent() {
appState.currentlyInEvent = false;
appState.registrationEnabled = false;
fs.unlinkSync("/tmp/.kqueue_eventlock");
return 200;
}