aboutsummaryrefslogtreecommitdiff
path: root/service/transport.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/transport.go')
-rw-r--r--service/transport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/transport.go b/service/transport.go
index ed083b6..da09557 100644
--- a/service/transport.go
+++ b/service/transport.go
@@ -630,7 +630,7 @@ func NewHandler(s *service, logger *log.Logger, staticDir string) http.Handler {
}, CSRF, JSON)
fStatus := handle(func(c *client) error {
- id, _ := mux.Vars(c.Req)["id"]
+ id, _ := mux.Vars(c.r)["id"]
return s.StatusPopup(c, id)
}, SESSION, JSON)