Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit 8d7ea0e

Browse files
committed
Add organisationShortCode to access token
Add organisation shortcode so accesstoken is compatible with SQLiteTokenStore
1 parent dcbacf9 commit 8d7ea0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xero.Api.Example.Applications/Public/PublicMvcAuthenticator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public IToken RetrieveAndStoreAccessToken(string userId, string tokenKey, string
7272
GetAuthorization(requestToken, "POST", Tokens.AccessUri, null, verfier));
7373

7474
accessToken.UserId = userId;
75-
75+
accessToken.OrganisationId = organisationShortCode;
7676
Store.Add(accessToken);
7777

7878
return accessToken;

0 commit comments

Comments
 (0)