Skip to content

Commit

Permalink
add array when add card details
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafaelrn committed May 2, 2024
1 parent 1775790 commit ce7fa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/bd_update_banks/bank_sicredi.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def import_card_sicredi(extrato_file, balance, date_payment_card, conta):

DATA_JSON = json.dumps(DATA)

bd.insert(DATA_JSON)
bd.insert([DATA_JSON])

except Exception as e:
msg = f'Linha inválida: {linha}\n\t error: {e}'
Expand Down

0 comments on commit ce7fa33

Please sign in to comment.