Skip to content

Commit 06f4d1f

Browse files
committed
Configurable OpenPix plan using env vars
1 parent 9c929da commit 06f4d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thebook/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"OPENPIX_API_BASE_URL", default="https://api.openpix.com.br"
271271
)
272272
OPENPIX_APP_ID = config("OPENPIX_APP_ID", default="")
273-
OPENPIX_PLAN = "PERCENTUAL"
273+
OPENPIX_PLAN = config("OPENPIX_PLAN", default="PERCENTUAL")
274274

275275
BANK_FEE_CATEGORY_NAME = "Tarifas Bancárias"
276276

0 commit comments

Comments
 (0)