Skip to content

Commit

Permalink
fix: add pinutils
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jun 28, 2024
1 parent 024a5aa commit edc46e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func main() {
// cacheRepo := cache.NewRepository(redis)

pinRepo := pin.NewRepository(redis)
pinSvc := pin.NewService(&conf.Pin, pinRepo, logger.Named("pinSvc"))
pinUtils := pin.NewUtils()
pinSvc := pin.NewService(&conf.Pin, pinUtils, pinRepo, logger.Named("pinSvc"))

stampRepo := stamp.NewRepository(db)
stampSvc := stamp.NewService(stampRepo, logger.Named("stampSvc"))
Expand Down

0 comments on commit edc46e1

Please sign in to comment.