From f7a38ec72a7085a7a773cddd164d1d930306e559 Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Wed, 24 Apr 2019 18:54:53 +0200 Subject: [PATCH] fix: permission handler regression in default app (#17927) --- default_app/default_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default_app/default_app.ts b/default_app/default_app.ts index b81bee81d9..975a4c268e 100644 --- a/default_app/default_app.ts +++ b/default_app/default_app.ts @@ -81,7 +81,7 @@ async function createWindow () { cancelId: 1 } - dialog.showMessageBox(mainWindow!, options).then(response => { + dialog.showMessageBox(mainWindow!, options).then(({ response }) => { done(response === 0) }) })