Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove date header from webhook request and use constants #15407

Merged
merged 2 commits into from Dec 11, 2023

Conversation

ronaldbarendse
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Description

As mentioned in #15375 (comment), providing the current date/time in a header doesn't add any real value. The date/time that would be of interest is when the event was raised and the WebhookRequest was created (as they're 'fired' some time later in a background thread), but that's not stored in the database yet. So lets ensure we don't sent this header yet! Besides that, I've also moved the header names into constants 馃憤馃徎

For testing, I believe a code review should suffice, as there's no big changes!

@Zeegaan Zeegaan merged commit 406848b into release/13.0 Dec 11, 2023
14 checks passed
@Zeegaan Zeegaan deleted the v13/hotfix/webhookevents-headernames branch December 11, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants