diff --git a/Starnet.Tests/Starnet.Tests.csproj b/Starnet.Tests/Starnet.Tests.csproj
index 5f601e6..781b2a3 100644
--- a/Starnet.Tests/Starnet.Tests.csproj
+++ b/Starnet.Tests/Starnet.Tests.csproj
@@ -4,7 +4,7 @@
LBPUnion.Starnet.Tests
LBPUnion.Starnet.Tests
- net7.0
+ net8.0
enable
enable
diff --git a/Starnet/LighthouseClient.cs b/Starnet/LighthouseClient.cs
index f534526..a99a4a4 100644
--- a/Starnet/LighthouseClient.cs
+++ b/Starnet/LighthouseClient.cs
@@ -38,7 +38,7 @@ public LighthouseClient([Optional] string? authenticationToken, string host = "h
// Set the authentication key of the HTTP Client, if provided.
if (authenticationToken == null) return;
- this.httpClient.DefaultRequestHeaders.Authorization = authenticationToken.StartsWith("$")
+ this.httpClient.DefaultRequestHeaders.Authorization = authenticationToken.StartsWith('$')
? new AuthenticationHeaderValue(authenticationToken)
: throw new ApiKeyException("The format of the API key is invalid.");
}
diff --git a/Starnet/Starnet.csproj b/Starnet/Starnet.csproj
index 77f720d..5613166 100644
--- a/Starnet/Starnet.csproj
+++ b/Starnet/Starnet.csproj
@@ -18,7 +18,7 @@
- net7.0
+ net8.0
enable
enable
true