Function cosmos_utils::upload_image
source · [−]pub async fn upload_image(f: FormData) -> Result<String, CosmosErrorStruct>Expand description
Uploads a new form data image to the blob storage and returns the image_id
pub async fn upload_image(f: FormData) -> Result<String, CosmosErrorStruct>Uploads a new form data image to the blob storage and returns the image_id