From af66144060769678eea1b2ecc9a9886231fde50d Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Tue, 14 Oct 2025 13:57:53 +0800 Subject: [PATCH] docs(api): fix mediatype --- .../org/gotson/komga/interfaces/api/rest/ReadListController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt index f2d3347b..b5aa73bc 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/ReadListController.kt @@ -268,7 +268,7 @@ class ReadListController( } @Operation(summary = "Match ComicRack list", tags = [OpenApiConfiguration.TagNames.COMICRACK]) - @PostMapping("match/comicrack") + @PostMapping("match/comicrack", consumes = [MediaType.MULTIPART_FORM_DATA_VALUE]) @PreAuthorize("hasRole('ADMIN')") fun matchComicRackList( @RequestParam("file") file: MultipartFile,