Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
wakirin committed Nov 29, 2024
1 parent 219e92e commit 43b7835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions middleware/pingprophet/integrations/PingprophetMNP.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ async def patch_contacts(self, pp_request):
"Content-Type": "application/json",
"Accept": "application/json",
}
self.logger.debug("Patching contacts (team id: %s, webhook request id: %s)", pp_request['team_id'],
pp_request['webhook_request_id'])
response = requests.post(f"{os.getenv('COMM_URL')}/api/v1/contacts/upsert", json=req, headers=headers)
self.logger.info("Contact patch response (team id: %s), Response: %s", pp_request['team_id'],
response.json())
Expand Down

0 comments on commit 43b7835

Please sign in to comment.