mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
create transaction from subscription
This commit is contained in:
@@ -30,6 +30,8 @@ func Routes(s *gin.Engine, db *pg.DB) {
|
||||
subscriptionService := services.SubscriptionService{Db: db}
|
||||
subscriptionTypeService := services.SubscriptionTypeService{Db: db}
|
||||
|
||||
walletService.Ss = &subscriptionService
|
||||
|
||||
controllers.NewApiController(&apiService, api)
|
||||
controllers.NewAuthController(&usersService, auth)
|
||||
controllers.NewWalletsController(&walletService, wallet)
|
||||
|
||||
Reference in New Issue
Block a user