Skip to content

Commit

Permalink
Fix update with system text json
Browse files Browse the repository at this point in the history
  • Loading branch information
ImoutoChan committed Dec 8, 2024
1 parent 3b7002a commit 7572df8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/WetPicsRebirth/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public void ConfigureServices(IServiceCollection services)
services.Configure<PixivConfiguration>(Configuration.GetSection("Pixiv"));
services.Configure<DanbooruConfiguration>(Configuration.GetSection("Danbooru"));

services.AddControllers().AddNewtonsoftJson();
services.AddControllers();
services.ConfigureTelegramBotMvc();

services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1", new OpenApiInfo {Title = "WetPicsRebirth", Version = "v1"});
Expand Down

0 comments on commit 7572df8

Please sign in to comment.