Bump multer from v1.2.2
to v2.0.0
This commit is contained in:
parent
577c7c5193
commit
1086d279c3
|
@ -39,7 +39,7 @@ serde_json = "1.0.64"
|
|||
thiserror = "1.0.24"
|
||||
static_assertions = "1.1.0"
|
||||
http = "0.2.3"
|
||||
multer = "1.2.2"
|
||||
multer = "2.0.0"
|
||||
tempfile = "3.2.0"
|
||||
|
||||
# Feature optional dependencies
|
||||
|
|
|
@ -43,7 +43,7 @@ pub(super) async fn receive_batch_multipart(
|
|||
boundary: impl Into<String>,
|
||||
opts: MultipartOptions,
|
||||
) -> Result<BatchRequest, ParseRequestError> {
|
||||
let mut multipart = Multipart::new_with_constraints(
|
||||
let mut multipart = Multipart::with_constraints(
|
||||
ReaderStream::new(body),
|
||||
boundary,
|
||||
Constraints::new().size_limit({
|
||||
|
|
Loading…
Reference in New Issue
Block a user