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:
parent
9cb9747e2e
commit
aef0c929df
@ -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) {
|
||||
|
@ -1 +1 @@
|
||||
1.22.1
|
||||
1.22.2
|
Loading…
Reference in New Issue
Block a user