Skip to content

Commit

Permalink
Fix #208 Initialize iam config
Browse files Browse the repository at this point in the history
  • Loading branch information
albinpa authored and georgepadayatti committed Oct 11, 2023
1 parent 141cc7c commit c51f80f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/config
6 changes: 4 additions & 2 deletions src/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (
"github.com/bb-consent/api/src/database"
"github.com/bb-consent/api/src/email"
"github.com/bb-consent/api/src/firebaseUtils"
handler "github.com/bb-consent/api/src/handlerv1"
"github.com/bb-consent/api/src/handlerv1"
"github.com/bb-consent/api/src/handlerv2"
"github.com/bb-consent/api/src/httppathsv1"
"github.com/bb-consent/api/src/httppathsv2"
"github.com/bb-consent/api/src/kafkaUtils"
Expand Down Expand Up @@ -60,7 +61,8 @@ func main() {
}
log.Println("Kafka producer client initialised")

handler.IamInit(loadedConfig)
handlerv1.IamInit(loadedConfig)
handlerv2.IamInit(loadedConfig)
log.Println("Iam initialized")

email.Init(loadedConfig)
Expand Down

0 comments on commit c51f80f

Please sign in to comment.