mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-03 12:03:21 -05:00
1.10.3 support multiple github webhook app installations
This commit is contained in:
@@ -239,7 +239,12 @@ fn core_info() -> &'static String {
|
||||
.unwrap_or_else(|| config.host.clone()),
|
||||
transparent_mode: config.transparent_mode,
|
||||
ui_write_disabled: config.ui_write_disabled,
|
||||
github_webhook_owners: config.github_webhook_app.owners.clone(),
|
||||
github_webhook_owners: config
|
||||
.github_webhook_app
|
||||
.installations
|
||||
.iter()
|
||||
.map(|i| i.namespace.to_string())
|
||||
.collect(),
|
||||
};
|
||||
serde_json::to_string(&info)
|
||||
.context("failed to serialize GetCoreInfoResponse")
|
||||
|
||||
Reference in New Issue
Block a user