diff --git a/.version b/.version index 860487c..37c2961 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -2.7.1 +2.7.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index cc895df..c8c1aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 2.7.2 +* fix accounting ## 2.7.1 * fix default local config ## 2.7.0 diff --git a/authenticate/authenticate.go b/authenticate/authenticate.go index d690f09..7eb40ea 100644 --- a/authenticate/authenticate.go +++ b/authenticate/authenticate.go @@ -1,6 +1,9 @@ package authenticate import ( + "strconv" + "time" + "github.com/integration-system/isp-lib/v2/config" "github.com/integration-system/isp-lib/v2/utils" log "github.com/integration-system/isp-log" @@ -12,8 +15,6 @@ import ( "isp-gate-service/log_code" "isp-gate-service/routing" "isp-gate-service/service/veritification" - "strconv" - "time" ) const ( @@ -134,6 +135,7 @@ func (v *verifiable) verifyAppToken() error { return createError("unauthorized", codes.Unauthenticated, "received unexpected application identity") } + v.appId = int32(applicationId) v.headers = verifiableHeaders return nil }