add control reset.

This commit is contained in:
Miroslav Šedivý 2020-11-29 15:58:26 +01:00
parent 179a22476c
commit f9b62073ef
2 changed files with 19 additions and 0 deletions

View file

@ -58,6 +58,7 @@ func (h *RoomHandler) Route(r chi.Router) {
r.With(auth.AdminsOnly).Post("/take", h.controlTake)
r.With(auth.AdminsOnly).Post("/give", h.controlGive)
r.With(auth.AdminsOnly).Post("/reset", h.controlReset)
})
r.Route("/screen", func(r chi.Router) {