This commit is contained in:
Timothy Jaeryang Baek
2026-04-17 11:12:42 +09:00
parent 398718d505
commit 128cf41fce
2 changed files with 45 additions and 38 deletions

View File

@@ -71,7 +71,7 @@ async def get_image_url_from_base64(request, base64_image_string, metadata, user
if BASE64_IMAGE_URL_PREFIX.match(base64_image_string):
image_url = ''
# Extract base64 image data from the line
image_data, content_type = get_image_data(base64_image_string)
image_data, content_type = await get_image_data(base64_image_string)
if image_data is not None:
_, image_url = await upload_image(
request,