mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
fixes
This commit is contained in:
@@ -21,6 +21,11 @@ func Routes(s *gin.Engine, db *pg.DB) {
|
||||
transactionType := ver.Group("transaction-type", middleware.Auth)
|
||||
subscription := ver.Group("subscription", middleware.Auth)
|
||||
subscriptionType := ver.Group("subscription-type", middleware.Auth)
|
||||
|
||||
s.NoRoute(func(c *gin.Context) {
|
||||
c.JSON(404, gin.H{"code": "PAGE_NOT_FOUND", "message": "Page not found"})
|
||||
})
|
||||
|
||||
|
||||
apiService := services.ApiService{Db: db}
|
||||
usersService := services.UsersService{Db: db}
|
||||
|
||||
Reference in New Issue
Block a user