1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: wakatime relay

This commit is contained in:
Ferdinand Mütsch 2021-02-05 14:50:00 +01:00
parent 9cb9747e2e
commit aef0c929df
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func (h *HeartbeatApiHandler) RegisterRoutes(router *mux.Router) {
r.Use(
customMiddleware.NewWakatimeRelayMiddleware().Handler,
)
router.Methods(http.MethodPost).HandlerFunc(h.Post)
r.Methods(http.MethodPost).HandlerFunc(h.Post)
}
func (h *HeartbeatApiHandler) Post(w http.ResponseWriter, r *http.Request) {

View File

@ -1 +1 @@
1.22.1
1.22.2