From 35b206e8f8058d316c1371bc71ea546b466775b9 Mon Sep 17 00:00:00 2001 From: mowczarek Date: Mon, 8 May 2023 15:15:43 +0200 Subject: [PATCH] minor --- core/.js/src/main/scala/io/udash/utils/FileUploader.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/.js/src/main/scala/io/udash/utils/FileUploader.scala b/core/.js/src/main/scala/io/udash/utils/FileUploader.scala index 1c5f25908..3c3804a4f 100644 --- a/core/.js/src/main/scala/io/udash/utils/FileUploader.scala +++ b/core/.js/src/main/scala/io/udash/utils/FileUploader.scala @@ -18,13 +18,13 @@ class FileUploader(url: Url) { (0 until input.files.length).map(input.files.item) ) - /** Uploads provided `file` in a field named `fieldName` with optional custom request headers. */ + /** Uploads provided `file` in a field named `fieldName` with optional additional request headers. */ def uploadFile( fieldName: String, file: File, extraData: Map[js.Any, js.Any] = Map.empty, additionalRequestHeaders: Map[RequestName, RequestValue] = Map.empty ): ReadableModelProperty[FileUploadModel] = upload(fieldName, Seq(file), extraData = extraData, additionalRequestHeaders = additionalRequestHeaders) - /** Uploads provided `files` in a field named `fieldName` with optional custom request headers. */ + /** Uploads provided `files` in a field named `fieldName` with optional additional request headers. */ def upload( fieldName: String, files: Seq[File], extraData: Map[js.Any, js.Any] = Map.empty, additionalRequestHeaders: Map[RequestName, RequestValue] = Map.empty ): ReadableModelProperty[FileUploadModel] = {