mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-13 03:43:17 +02:00
Fix Request-Method for cover (set to GET)
This commit is contained in:
parent
d7f21550cd
commit
1f59ef66cd
@ -98,7 +98,7 @@ public class MangaController(PgsqlContext context) : Controller
|
||||
/// <response code="204">Cover not loaded</response>
|
||||
/// <response code="400">The formatting-request was invalid</response>
|
||||
/// <response code="404">Manga with ID not found</response>
|
||||
[HttpPost("{MangaId}/Cover")]
|
||||
[HttpGet("{MangaId}/Cover")]
|
||||
[ProducesResponseType<byte[]>(Status200OK,"image/jpeg")]
|
||||
[ProducesResponseType(Status204NoContent)]
|
||||
[ProducesResponseType(Status400BadRequest)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user