Skip to content

Commit

Permalink
fix: fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxcli committed Feb 18, 2024
1 parent 9b2b6b8 commit 5017267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {
// Init services
userService := service.NewUserService(app.Conn, app.Cache)
eventService := service.NewEventService(app.Conn, app.Cache)
asynqService := service.NewAsynqService(app.AsynqClient, app.AsyncqInspector, app.Env)
asynqService := service.NewAsynqService(app.AsynqClient, app.AsynqInspector, app.Env)

services := &router.Services{
UserService: userService,
Expand Down
4 changes: 2 additions & 2 deletions pkg/bootstrap/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Application struct {
Engine *gin.Engine
LineSocialClient *social.Client
AsynqClient *asynq.Client
AsyncqInspector *asynq.Inspector
AsynqInspector *asynq.Inspector
}

func App(opts ...AppOpts) *Application {
Expand All @@ -54,7 +54,7 @@ func App(opts ...AppOpts) *Application {
Engine: engine,
LineSocialClient: lineSocialClient,
AsynqClient: asynqClient,
AsyncqInspector: asynqInspector,
AsynqInspector: asynqInspector,
}

for _, opt := range opts {
Expand Down

0 comments on commit 5017267

Please sign in to comment.