apparently content type != mime type
This commit is contained in:
parent
2978d34a87
commit
76b8093dec
|
@ -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(),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue