Skip to content

Commit

Permalink
feat(visaulqa): added svg support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinesh Sajwan committed Feb 14, 2024
1 parent 1396385 commit d413f11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def handler(event, context: LambdaContext) -> dict:
response['name'] = output_file_name
if(extension == '.pdf'):
response['status'] = transform_pdf_document(input_bucket,file_name,output_file_name)
elif(extension == '.jpg'or extension == '.jpeg' or extension == '.png'):
elif(extension == '.jpg'or extension == '.jpeg' or extension == '.png' or extension == '.svg'):
response['status'] = transform_image_document(input_bucket,file_name,output_bucket)
#TODO add csv, doc, docx file type suport as well.
else:
Expand Down

0 comments on commit d413f11

Please sign in to comment.