Skip to content

Commit

Permalink
updating
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinandpn committed Nov 26, 2023
1 parent 786e063 commit 348a893
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ func main() {
}

}

2 changes: 1 addition & 1 deletion pkg/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func NewServerHTTP(userHandler handlerInterface.UserHandler,
couponHandler)
routes.AdminRoute(Engine.Group("/admin"),
adminHandler,
productHandler,
productHandler,
orderHandler,
paymentHandler,
couponHandler)
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

type Config struct {
DBHost string `mapstructure:"DB_HOST"`
DBHost string `mapstructure:"DB_HOST"`
DBName string `mapstructure:"DB_NAME"`
DBUser string `mapstructure:"DB_USER"`
DBPort string `mapstructure:"DB_PORT"`
Expand Down

0 comments on commit 348a893

Please sign in to comment.