aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Commons
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons')
-rw-r--r--docker/crupest-api/CrupestApi/CrupestApi.Commons/Json.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Json.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Json.cs
index 3017176..4f5862f 100644
--- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Json.cs
+++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Json.cs
@@ -29,11 +29,10 @@ public static class CrupestApiJsonExtensions
}
else
{
- throw new Exception("Only value not array or object is allowed.")
+ throw new Exception("Only value not array or object is allowed.");
}
}
-
public static IServiceCollection AddJsonOptions(this IServiceCollection services)
{
services.AddOptions<JsonSerializerOptions>();
@@ -44,8 +43,6 @@ public static class CrupestApiJsonExtensions
config.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
});
- // TODO: Register column type provided converters.
-
return services;
}