diff --git a/src/Webserver.API/Models/Responses/ApiTicketIdResponse.cs b/src/Webserver.API/Models/Responses/ApiTicketIdResponse.cs
index 127d30b..8cab8d3 100644
--- a/src/Webserver.API/Models/Responses/ApiTicketIdResponse.cs
+++ b/src/Webserver.API/Models/Responses/ApiTicketIdResponse.cs
@@ -23,9 +23,9 @@ public ApiTicketIdResponse() : base()
///
public ApiTicketIdResponse(ApiSingleStringResponse singleStringResponse) : base()
{
- this.Id = string.Copy(singleStringResponse.Id);
- this.JsonRpc = string.Copy(singleStringResponse.JsonRpc);
- this.Result = string.Copy(singleStringResponse.Result);
+ this.Id = singleStringResponse.Id;
+ this.JsonRpc = singleStringResponse.JsonRpc;
+ this.Result = singleStringResponse.Result;
}
}
}
diff --git a/src/Webserver.API/Services/FileHandling/ApiDirectoryBuilder.cs b/src/Webserver.API/Services/FileHandling/ApiDirectoryBuilder.cs
index 1880676..98479e7 100644
--- a/src/Webserver.API/Services/FileHandling/ApiDirectoryBuilder.cs
+++ b/src/Webserver.API/Services/FileHandling/ApiDirectoryBuilder.cs
@@ -117,7 +117,7 @@ public ApiFileResource Build(ApiDirectoryBuilderConfiguration parseConfiguration
{
throw new ApiDirectoryParserException("Missing parameter 'Type' or Type was invalid => 'None' or 0 ", serializationException);
}
- throw serializationException;
+ throw;
}
}
diff --git a/src/Webserver.API/Services/FileParser/ApiWebAppConfigParser.cs b/src/Webserver.API/Services/FileParser/ApiWebAppConfigParser.cs
index 6e8cc97..ef0df38 100644
--- a/src/Webserver.API/Services/FileParser/ApiWebAppConfigParser.cs
+++ b/src/Webserver.API/Services/FileParser/ApiWebAppConfigParser.cs
@@ -101,7 +101,7 @@ public ApiWebAppData Parse()
{
throw new ApiWebAppConfigParserException("Missing parameter 'Type' or Type was invalid => 'None' or 0 ", serializationException);
}
- throw serializationException;
+ throw;
}
}
diff --git a/src/Webserver.API/Webserver.API.csproj b/src/Webserver.API/Webserver.API.csproj
index f6206da..1494cd8 100644
--- a/src/Webserver.API/Webserver.API.csproj
+++ b/src/Webserver.API/Webserver.API.csproj
@@ -25,15 +25,15 @@
all
runtime; build; native; contentfiles; analyzers
-
-
+
+
-
+
\ No newline at end of file
diff --git a/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj b/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj
index b768bb5..e885974 100644
--- a/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj
+++ b/tests/Webserver.API.UnitTests/Webserver.Api.UnitTests.csproj
@@ -20,11 +20,11 @@
all
runtime; build; native; contentfiles; analyzers
-
-
+
+
-
+
@@ -36,7 +36,7 @@
-
+
\ No newline at end of file