MSP-634 remove defaultExpireTime

This commit is contained in:
d1slike committed 2022-08-04 22:13:28 +03:00
1 parent 231792aefa
commit 42a2ceb9c9
4 files changed
+19 -28

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ func (l Locator) Handler(cfg conf.Remote) isp.BackendServiceServer {
serviceService := service.NewService(domainRep, serviceRep)
jwtService := service.NewTokenSource()
tokenService := service.NewToken(cfg.DefaultTokenExpireTime, jwtService, applicationService, txManager,
tokenService := service.NewToken(jwtService, applicationService, txManager,
applicationRep, domainRep, serviceRep, tokenRep,
)