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

feat: implement wakatime projects endpoint (resolve #196)

This commit is contained in:
Ferdinand Mütsch
2021-05-01 13:52:03 +02:00
parent 0fbb554fc3
commit cf3d293688
15 changed files with 770 additions and 402 deletions

View File

@ -39,7 +39,7 @@ func (h *HeartbeatApiHandler) RegisterRoutes(router *mux.Router) {
middlewares.NewAuthenticateMiddleware(h.userSrvc).Handler,
customMiddleware.NewWakatimeRelayMiddleware().Handler,
)
r.Path("").Methods(http.MethodPost).HandlerFunc(h.Post)
r.Methods(http.MethodPost).HandlerFunc(h.Post)
}
// @Summary Push a new heartbeat