Skip to content

Commit

Permalink
Fix wrong nested package object assignation in delete response (#110824)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasansol92 authored Sep 3, 2021
1 parent ca37021 commit 71768bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/fleet/server/services/package_policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ class PackagePolicyService {
name: packagePolicy.name,
success: true,
package: {
name: packagePolicy.name,
title: '',
version: packagePolicy.version || '',
name: packagePolicy.package?.name || '',
title: packagePolicy.package?.title || '',
version: packagePolicy.package?.version || '',
},
});
} catch (error) {
Expand Down

0 comments on commit 71768bb

Please sign in to comment.