Omkar008 commited on
Commit
6d9b971
·
verified ·
1 Parent(s): 7a50d0c

Update extract_and_store_supabase.py

Browse files
Files changed (1) hide show
  1. extract_and_store_supabase.py +1 -1
extract_and_store_supabase.py CHANGED
@@ -24,7 +24,7 @@ def extract_structure_store_message(user_id:str,message_id:str , attachment_id:s
24
  payload = {
25
  "skipHumanReview": True,
26
  "rawDocument": {
27
- "mimeType": f"application/{file_type}",
28
  "content": base64_content
29
  }
30
  }
 
24
  payload = {
25
  "skipHumanReview": True,
26
  "rawDocument": {
27
+ "mimeType": f"application/{attachment_extension}",
28
  "content": base64_content
29
  }
30
  }