pub async fn process_exercise_service_upload(
conn: &mut PgConnection,
exercise_service_slug: &str,
payload: Multipart,
file_store: &dyn FileStore,
paths: &mut HashMap<String, String>,
uploader: Option<AuthUser>,
base_url: &str,
) -> Result<(), ControllerError>
Expand description
Processes an upload from an exercise service or an exercise iframe. This function assumes that any permission checks have already been made.