mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 11:47:42 +00:00
fix route
This commit is contained in:
parent
0d296a672e
commit
3d679fe878
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue