fix route

This commit is contained in:
Andre Medeiros 2021-07-26 13:06:00 -04:00
parent 0d296a672e
commit 3d679fe878

View file

@ -65,7 +65,7 @@ func (a *api) Routes() *httprouter.Router {
router.GET("/v1/health", a.healthCheckHandler) router.GET("/v1/health", a.healthCheckHandler)
router.POST("/v1/device", a.upsertDeviceHandler) router.POST("/v1/device", a.upsertDeviceHandler)
router.POST("/v1/device/test", a.testDeviceHandler) router.POST("/v1/device/:apns/test", a.testDeviceHandler)
router.POST("/v1/device/:apns/account", a.upsertAccountHandler) router.POST("/v1/device/:apns/account", a.upsertAccountHandler)
return router return router