mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 17:21:43 +02:00
Disable registration when Event is ended.
This commit is contained in:
@ -17,6 +17,7 @@ export class RpcController {
|
||||
@Get("/end_event")
|
||||
doEndEvent() {
|
||||
appState.currentlyInEvent = false;
|
||||
appState.registrationEnabled = false;
|
||||
fs.unlinkSync("/tmp/.kqueue_eventlock");
|
||||
return 200;
|
||||
}
|
||||
|
Reference in New Issue
Block a user