fix merge
All checks were successful
Deploy Amap / deploy (push) Successful in 1m51s

This commit is contained in:
2026-09-07 19:29:27 +02:00
17 changed files with 995 additions and 434 deletions

View File

@@ -63,12 +63,14 @@ def update_one(
if 'payment_methods' in productor_updates:
new_productor.payment_methods.clear()
for pm in productor_updates['payment_methods']:
print(pm)
new_productor.payment_methods.append(
models.PaymentMethod(
name=pm['name'],
details=pm['details'],
productor_id=id,
max=pm['max']
max=pm['max'],
min=pm['min']
)
)
del productor_updates['payment_methods']