Skip to content

Commit

Permalink
refactor(reports): 🚨 remove pragma directive
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed May 18, 2023
1 parent 5a3bb60 commit 34df66f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/TogglTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ internal TogglTrack(PluginInitContext context, Settings settings)

var summary = await this._client.GetSummaryTimeEntries(workspaceId, userId, reportGrouping, start, end);

#pragma warning disable CS8604 // Possible null reference argument
this._cache.Set(cacheKey, summary, DateTimeOffset.Now.AddSeconds(30));
#pragma warning restore CS8604 // Possible null reference argument

this._summaryTimeEntriesCacheKeys.Add(cacheKey);

return summary;
Expand Down

0 comments on commit 34df66f

Please sign in to comment.