Skip to content

Commit

Permalink
Fix logic to send verbose webhooks
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Costanzo <[email protected]>
  • Loading branch information
ianco authored and ff137 committed Aug 30, 2024
1 parent b96400d commit 1df8a16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def emit_event(self, session: ProfileSession, payload: Any = None):
# serialize payload before checking for webhook contents
if not payload:
payload = self.serialize()
else:
if not session.profile.settings.get("debug.webhooks"):
payload = V20CredExRecordWebhook(**payload)
payload = payload.__dict__

Expand Down

0 comments on commit 1df8a16

Please sign in to comment.