handle beberapa case

This commit is contained in:
gigihshs
2026-01-14 15:56:00 +07:00
parent 1215790919
commit 6dfc474924
2 changed files with 69 additions and 6 deletions
@@ -137,7 +137,7 @@ func (s *ServiceRequestRepository) CreateServiceRequest(req model.ServiceRequest
}
// use redis auth helper to get or create token
redisRepo := redis.NewRedisAuth(s.akses)
token, err := redisRepo.GetOrCreateTokenSS(context.Background())
token, err := redisRepo.GetOrCreateTokenSS(context.Background(), req.Subject.Reference)
if err != nil {
return nil, err
}