mrfirdauss commited on
Commit
9a4e093
·
1 Parent(s): 46b35b2

fix schengen get occupation

Browse files
app/util/schengen_visa_letter_generator.py CHANGED
@@ -340,7 +340,7 @@ class SchengenVisaLetterGenerator(PDFDocumentGenerator):
340
  0,
341
  8,
342
  f"Commitment and Return: I assure you that I/we will adhere to all Schengen visa regulations and return to Indonesia as planned. "
343
- f"I am a {personal.get("occupation", "")}, committed to my duties in Indonesia. "
344
  f"My financial status is {financial_status}, and sufficient proof of funds is attached to cover all expenses for the trip. "
345
  f"I guarantee our prompt return upon completion of the journey.\n\n"
346
  f"We would be grateful if you could consider our application favorably and issue the necessary visa for the trip. "
 
340
  0,
341
  8,
342
  f"Commitment and Return: I assure you that I/we will adhere to all Schengen visa regulations and return to Indonesia as planned. "
343
+ f"I am a {personal.get('occupation', '')}, committed to my duties in Indonesia. "
344
  f"My financial status is {financial_status}, and sufficient proof of funds is attached to cover all expenses for the trip. "
345
  f"I guarantee our prompt return upon completion of the journey.\n\n"
346
  f"We would be grateful if you could consider our application favorably and issue the necessary visa for the trip. "
server.py CHANGED
@@ -301,7 +301,6 @@ def create_app() -> Flask:
301
  s3_client = boto3.client('s3',
302
  aws_access_key_id=os.getenv("AWS_ACCESS_KEY"),
303
  aws_secret_access_key=os.getenv("AWS_SECRET_KEY"),
304
- region_name=os.getenv("AWS_REGION") ,
305
  config=jakarta_config
306
  )
307
 
 
301
  s3_client = boto3.client('s3',
302
  aws_access_key_id=os.getenv("AWS_ACCESS_KEY"),
303
  aws_secret_access_key=os.getenv("AWS_SECRET_KEY"),
 
304
  config=jakarta_config
305
  )
306