Skip to content

Commit

Permalink
Merge pull request openwallet-foundation#3193 from ianco/fix/issue/3191
Browse files Browse the repository at this point in the history
Fix logic to send verbose webhooks
  • Loading branch information
ianco authored Aug 22, 2024
2 parents 3c79197 + c9b5c49 commit 9f5ae0b
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 9f5ae0b

Please sign in to comment.