mirror of
https://github.com/ForFarmTeam/ForFarm.git
synced 2025-12-18 21:44:08 +01:00
feat: fix InventoryRoutes to not use UseMiddleware
This commit is contained in:
parent
c8b824d01f
commit
0c2f026a5f
@ -83,6 +83,7 @@ func (a *api) Routes() *chi.Mux {
|
||||
a.registerCropRoutes(r, api)
|
||||
a.registerPlantRoutes(r, api)
|
||||
a.registerOauthRoutes(r, api)
|
||||
a.registerInventoryRoutes(r, api)
|
||||
})
|
||||
|
||||
router.Group(func(r chi.Router) {
|
||||
@ -90,7 +91,6 @@ func (a *api) Routes() *chi.Mux {
|
||||
a.registerHelloRoutes(r, api)
|
||||
a.registerFarmRoutes(r, api)
|
||||
a.registerUserRoutes(r, api)
|
||||
a.registerInventoryRoutes(r, api)
|
||||
})
|
||||
|
||||
return router
|
||||
|
||||
Loading…
Reference in New Issue
Block a user