File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ func Route(
107
107
terraformInventoryController := proProjects .NewTerraformInventoryController (terraformStore )
108
108
userController := NewUserController (subscriptionService )
109
109
usersController := NewUsersController (subscriptionService )
110
- subscriptionController := proApi .NewSubscriptionController ()
110
+ subscriptionController := proApi .NewSubscriptionController (store )
111
111
projectRunnerController := proProjects .NewProjectRunnerController ()
112
112
113
113
r := mux .NewRouter ()
Original file line number Diff line number Diff line change 1
1
package api
2
2
3
3
import (
4
+ "github.com/semaphoreui/semaphore/db"
4
5
"github.com/semaphoreui/semaphore/pro_interfaces"
5
6
"net/http"
6
7
)
7
8
8
- func NewSubscriptionController () pro_interfaces.SubscriptionController {
9
+ func NewSubscriptionController (optionsRepo db. OptionsManager ) pro_interfaces.SubscriptionController {
9
10
return & subscriptionControllerImpl {}
10
11
}
11
12
You can’t perform that action at this time.
0 commit comments