Skip to content

Commit 750c159

Browse files
committed
Initial commit
1 parent 4747a48 commit 750c159

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • techsupport/clone_agreements

techsupport/clone_agreements/app.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ def clone(
3838
to_account.environment,
3939
)
4040

41-
agreement = mpt_client.commerce.agreements.get(agreement_id)
41+
agreement_first_account = mpt_client.commerce.agreements.get(agreement_id)
42+
agreement_second_account = to_account_mpt_client.commerce.agreements.get(
43+
agreement_id
44+
)
4245

43-
console.print(f"Found agreement: {agreement.id}")
46+
console.print(
47+
f"Found agreement: {agreement_first_account.id} and {agreement_second_account.id}"
48+
)

0 commit comments

Comments
 (0)