diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt index 8fe32a0f..f8f3a8bd 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/controller/BackupController.kt @@ -29,6 +29,7 @@ object BackupController { /** expects a Tachiyomi protobuf backup as a file upload, the file must be named "backup.proto.gz" */ fun protobufImportFile(ctx: Context) { + // TODO: rewrite this with ctx.uploadedFiles(), don't call the multipart field "backup.proto.gz" ctx.json( JavalinSetup.future { ProtoBackupImport.performRestore(ctx.uploadedFile("backup.proto.gz")!!.content)