Skip to content

Commit

Permalink
add download key to archive packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Oct 12, 2022
1 parent 17b47af commit b743d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/services/epm/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ async function getPackageInfoFromArchiveOrCache(
archiveBuffer,
ensureContentType(archivePath)
);
setPackageInfo({ packageInfo, name, version });
setPackageInfo({ packageInfo: { ...packageInfo, download: archivePath }, name, version });
return packageInfo;
} else {
return cachedInfo;
Expand Down

0 comments on commit b743d0a

Please sign in to comment.