Skip to content

Commit 9b5f64b

Browse files
Fix UpdateJson initialization in Gateway API
Add missing hub_service field (set to None) when Gateway API creates update.json for Gateway-only updates.
1 parent c031be2 commit 9b5f64b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

devolutions-gateway/src/api/update.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ pub(super) async fn trigger_update_check(
5656

5757
let update_json = UpdateJson {
5858
gateway: Some(ProductUpdateInfo { target_version }),
59+
hub_service: None,
5960
};
6061

6162
let update_json = serde_json::to_string(&update_json).map_err(

0 commit comments

Comments
 (0)