Skip to content

Commit

Permalink
Thanks rider
Browse files Browse the repository at this point in the history
  • Loading branch information
bradystroud committed Oct 8, 2023
1 parent a33f3e5 commit ea377fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/TimesheetGPT.Core/Services/GraphService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ namespace TimesheetGPT.Core.Services;

public class GraphService : IGraphService
{
private GraphServiceClient _client;
private readonly GraphServiceClient _client;

public GraphService(GraphServiceClient client)
{
if (client == null)
throw new ArgumentNullException(nameof(client));
ArgumentNullException.ThrowIfNull(client);

_client = client ?? throw new ArgumentNullException(nameof(client));
}
Expand Down

0 comments on commit ea377fe

Please sign in to comment.