Set correct content_type value for Gogs/Gitea webhooks (#9504) (#10456) #11461

Merged
lunny merged 1 commits from backport-10456 into release/v1.11 2020-05-17 19:09:00 +00:00
Contributor

Backport #10456

The content_type value was defaulting to the string value of the
ContentType, not the integer value as expected by the backend.

Original by @jvstein

Fixes #11458
Fixes #9504

Backport #10456 The content_type value was defaulting to the string value of the ContentType, not the integer value as expected by the backend. Original by @jvstein Fixes #11458 Fixes #9504
mrsdizzie (Migrated from github.com) approved these changes 2020-05-17 16:48:31 +00:00
lafriks (Migrated from github.com) approved these changes 2020-05-17 16:51:16 +00:00
This repo is archived. You cannot comment on pull requests.
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#11461
No description provided.