Skip to content

Commit c91299c

Browse files
author
Stanislav Rehak
committed
Use local accessToken instead of instance's Token
1 parent 3ae1557 commit c91299c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Git.hub/OAuth2Helper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public OAuth2AuthHelper(string token) : base(token) { }
5656

5757
protected override Parameter GetAuthenticationParameter(string accessToken)
5858
{
59-
return new Parameter("Authorization", "bearer " + Token, ParameterType.HttpHeader);
59+
return new Parameter("Authorization", "bearer " + accessToken, ParameterType.HttpHeader);
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)