Skip to content

Commit

Permalink
fix: auth
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Dec 23, 2023
1 parent 1f333f7 commit e7b5521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func main() {
svcSrcSites = grpcApiSrcSites.NewServiceLogging(svcSrcSites, log)

// init the Telegram Login validation grpc service
controllerAuth := grpcApiAuth.NewController(cfg.Api.Telegram.Token)
controllerAuth := grpcApiAuth.NewController([]byte(cfg.Api.Telegram.Token))
go func() {
log.Info(fmt.Sprintf("starting to listen the grpc API @ port #%d...", cfg.Api.Telegram.Auth.Port))
err = grpcApi.Serve(cfg.Api.Telegram.Auth.Port, controllerAuth)
Expand Down

0 comments on commit e7b5521

Please sign in to comment.