Skip to content

Commit

Permalink
add back await to not change things
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Jul 17, 2020
1 parent b10d48e commit 6b150e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,10 @@ export const saveInstalledKibanaRefs = async (
pkgName: string,
installedAssets: KibanaAssetReference[]
) => {
return savedObjectsClient.update(PACKAGES_SAVED_OBJECT_TYPE, pkgName, {
await savedObjectsClient.update(PACKAGES_SAVED_OBJECT_TYPE, pkgName, {
installed_kibana: installedAssets,
});
return installedAssets;
};

export const saveInstalledEsRefs = async (
Expand Down

0 comments on commit 6b150e6

Please sign in to comment.