Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezasamimi committed Oct 23, 2024
1 parent c37062c commit 6886cda
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
Expand Down Expand Up @@ -36,7 +37,7 @@ public static IServiceCollection AddRefitClientTypes(this IServiceCollection ser
{
return null;
}
if (httpResponseMessage.StatusCode == System.Net.HttpStatusCode.Conflict)
if (httpResponseMessage.StatusCode == HttpStatusCode.Conflict)
{
throw new RepositoryAlreadyExistsException(await httpResponseMessage.Content.ReadAsStringAsync());
}
Expand Down

0 comments on commit 6886cda

Please sign in to comment.