1
0
Fork 0

apparently content type != mime type

This commit is contained in:
Cyborus 2023-12-12 16:37:33 -05:00
parent 2978d34a87
commit 76b8093dec
No known key found for this signature in database

View file

@ -329,7 +329,7 @@ async fn admin(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
authorization_header: None,
branch_filter: None,
config: forgejo_api::CreateHookOptionConfig {
content_type: "application/json".into(),
content_type: "json".into(),
url: url::Url::parse("http://test.local/").unwrap(),
other: Default::default(),
},