Skip to content

Commit

Permalink
Fix TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Nov 25, 2020
1 parent 7cb73eb commit 8ba65bc
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ async function incrementUIOpenOptionCounter({
}: IncrementUIOpenDependencies) {
const internalRepository = savedObjects.createInternalRepository();

await internalRepository.incrementCounter(
UPGRADE_ASSISTANT_TYPE,
UPGRADE_ASSISTANT_DOC_ID,
`ui_open.${uiOpenOptionCounter}`
);
await internalRepository.incrementCounter(UPGRADE_ASSISTANT_TYPE, UPGRADE_ASSISTANT_DOC_ID, [
`ui_open.${uiOpenOptionCounter}`,
]);
}

type UpsertUIOpenOptionDependencies = UIOpen & { savedObjects: SavedObjectsServiceStart };
Expand Down

0 comments on commit 8ba65bc

Please sign in to comment.