create transaction from subscription

This commit is contained in:
Fran Jurmanović
2021-06-19 23:40:49 +02:00
parent fdc9187f06
commit 3d43716669
4 changed files with 39 additions and 0 deletions

View File

@@ -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)