This commit is contained in:
@ -126,7 +126,7 @@ async def get_vaccs_report_download(
|
||||
{
|
||||
'filename': filename,
|
||||
'content_type': 'application/msword',
|
||||
'data': file_bytes,
|
||||
'data': base64.b64encode(file_bytes).decode('utf-8'),
|
||||
}
|
||||
),
|
||||
ex=600,
|
||||
@ -312,7 +312,7 @@ async def get_aemd_file_download(
|
||||
{
|
||||
'filename': filename,
|
||||
'content_type': 'application/pdf',
|
||||
'data': pdf_bytes,
|
||||
'data': base64.b64encode(pdf_bytes).decode('utf-8'),
|
||||
}
|
||||
),
|
||||
ex=600,
|
||||
|
||||
Reference in New Issue
Block a user