try to use cbor decoding

This commit is contained in:
Erik Tesar 2021-07-27 21:37:30 +02:00
parent ba43237fef
commit c88f4bbd0e

View File

@ -36,7 +36,7 @@ pub async fn receive_batch_body(
if let Some(Ok(boundary)) = content_type.map(multer::parse_boundary) {
multipart::receive_batch_multipart(body, boundary, opts).await
} else {
receive_batch_json(body).await
receive_batch_cbor(body).await
}
}