mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix control give API.
This commit is contained in:
parent
6b3bc17334
commit
e83c447e52
@ -95,7 +95,7 @@ func (h *RoomHandler) Route(r types.Router) {
|
||||
r.Post("/release", h.controlRelease)
|
||||
|
||||
r.With(auth.AdminsOnly).Post("/take", h.controlTake)
|
||||
r.With(auth.AdminsOnly).Post("/give", h.controlGive)
|
||||
r.With(auth.AdminsOnly).Post("/give/{sessionId}", h.controlGive)
|
||||
r.With(auth.AdminsOnly).Post("/reset", h.controlReset)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user