Skip to content

Commit 318a71a

Browse files
authored
Merge pull request #22 from CodeBeamOrg/LittleFix
Fix a Compile Error
2 parents 53fc97a + c3cf9ec commit 318a71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GoogleApis.Blazor/Calendar/CalendarService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ public async Task<string> AddEvent(GoogleCalendarEventModel calendarEvent, strin
386386

387387
string model = await result.Content.ReadAsStringAsync();
388388

389-
if (forceAccessToken == false || result.IsSuccessStatusCode || !AuthService.IsAccessTokenExpired(contentResult) || string.IsNullOrEmpty(RefreshToken))
389+
if (forceAccessToken == false || result.IsSuccessStatusCode || !AuthService.IsAccessTokenExpired(model) || string.IsNullOrEmpty(RefreshToken))
390390
{
391391
return model;
392392
}

0 commit comments

Comments
 (0)