diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 0d9448a9..eb90871b 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -479,7 +479,7 @@ let imageId; if (el.files[0].type.startsWith("image")) { imageId = `${url}`; - imageId = blobToBase64(el.files[0]); + imageId = await blobToBase64(el.files[0]); } else { imageId = `wadouri:${url}`; }