Skip to content

Commit

Permalink
Log Posting Vendor Payload (#520)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
ruuushhh and GitHub Actions committed Jul 1, 2024
1 parent 8de7a23 commit 11552b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/sage_intacct/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ def post_vendor(self, vendor_id: str, vendor_name: str, email: str = None):
'LASTNAME': name[-1] if len(name) == 2 else None
}
}
logger.info("| Payload for the vendor creation | Content : {{WORKSPACE_ID = {}, VENDOR_PAYLOAD = {}}}".format(self.workspace_id, vendor_payload))

created_vendor = self.connection.vendors.post(vendor_payload)['data']['vendor']

Expand Down

0 comments on commit 11552b4

Please sign in to comment.