Skip to content

Commit ebbd640

Browse files
committed
fix: emitter bug
1 parent fbf729c commit ebbd640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyinterboleto/emissao/emissor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def emitir_boleto(
219219
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}
220220

221221
response = post(
222-
API_URL, json=dados.to_json(), headers=headers, cert=(certificate, key)
222+
API_URL, data=dados.to_json(), headers=headers, cert=(certificate, key)
223223
)
224224

225225
contents = check_response(response, "Boleto não foi emitido")

0 commit comments

Comments
 (0)