From 5e1a78ee47471659ac96ee37748afd665e0cd34c Mon Sep 17 00:00:00 2001 From: Tareq Abuzuhri Date: Tue, 23 Nov 2021 12:32:40 +0100 Subject: [PATCH] fix bug in CacheTokenData --- Source/FikaAmazonAPI/AmazonCredential.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/FikaAmazonAPI/AmazonCredential.cs b/Source/FikaAmazonAPI/AmazonCredential.cs index ca17129d..3aa71ea0 100644 --- a/Source/FikaAmazonAPI/AmazonCredential.cs +++ b/Source/FikaAmazonAPI/AmazonCredential.cs @@ -36,6 +36,7 @@ public AmazonCredential(string AccessKey, string SecretKey, string RoleArn, stri this.ClientId = ClientId; this.ClientSecret = ClientSecret; this.RefreshToken = RefreshToken; + CacheTokenData = new CacheTokenData(); } public TokenResponse GetToken(TokenDataType tokenDataType)