Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed Nov 16, 2023
1 parent 71c2d86 commit c3f8963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/sbi/consumer/nf_accesstoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
func GetTokenCtx(scope, targetNF string) (context.Context, *models.ProblemDetails, error) {
if amf_context.GetSelf().OAuth2Required {
logger.ConsumerLog.Debugln("GetToekenCtx")
udrSelf := amf_context.GetSelf()
tok, pd, err := oauth.SendAccTokenReq(udrSelf.NfId, models.NfType_AMF, scope, targetNF, udrSelf.NrfUri)
amfSelf := amf_context.GetSelf()
tok, pd, err := oauth.SendAccTokenReq(amfSelf.NfId, models.NfType_AMF, scope, targetNF, amfSelf.NrfUri)
if err != nil {
return nil, pd, err
}
Expand Down

0 comments on commit c3f8963

Please sign in to comment.