a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/api] Add [Consumes] Attribute to the UpdateFile endpoint

+2
+2
Iceshrimp.Backend/Controllers/DriveController.cs
··· 1 1 using System.Diagnostics.CodeAnalysis; 2 + using System.Net.Mime; 2 3 using Iceshrimp.Backend.Core.Configuration; 3 4 using Iceshrimp.Backend.Core.Database; 4 5 using Iceshrimp.Backend.Core.Middleware; ··· 117 118 [HttpPatch("{id}")] 118 119 [Authenticate] 119 120 [Authorize] 121 + [Consumes(MediaTypeNames.Application.Json)] 120 122 [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(DriveFileResponse))] 121 123 [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))] 122 124 public async Task<IActionResult> UpdateFile(string id, UpdateDriveFileRequest request)