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

Commit e73046f

Browse files
authored
Merge pull request #364 from XeroAPI/SqliteTokenChange
Add organisationShortCode to access token
2 parents dcbacf9 + 8d7ea0e commit e73046f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)