mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Disable registration when Event is ended.
This commit is contained in:
parent
9b31131d5b
commit
8c19de74c2
@ -17,6 +17,7 @@ export class RpcController {
|
||||
@Get("/end_event")
|
||||
doEndEvent() {
|
||||
appState.currentlyInEvent = false;
|
||||
appState.registrationEnabled = false;
|
||||
fs.unlinkSync("/tmp/.kqueue_eventlock");
|
||||
return 200;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user