fix: remove protocol from discount service adress

This commit is contained in:
skeris 2024-03-22 17:49:48 +03:00
parent 7b0de77608
commit 6c51c0eafd
2 changed files with 1 additions and 2 deletions

@ -37,7 +37,7 @@ services:
JWT_PUBLIC_KEY: $JWT_PUBLIC_KEY
KAFKA_BROKERS: "10.6.0.11:9092"
KAFKA_TOPIC_TARIFF: "tariffs"
DISCOUNT_ADDRESS: "http://10.6.0.11:9001"
DISCOUNT_ADDRESS: "10.6.0.11:9001"
ports:
- 59664:3000
networks:

@ -64,7 +64,6 @@ func (j *JWT) Validate(tokenString string) (string, error) {
return key, nil
}
fmt.Println("SKER-1", tokenString, j.audience,j.issuer)
token, err := jwt.Parse(
tokenString,