diff --git a/docs/api/app.md b/docs/api/app.md index 2aec42c48ae93..e10e20fcd5d22 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -1001,7 +1001,7 @@ const gotTheLock = app.requestSingleInstanceLock(additionalData) if (!gotTheLock) { app.quit() } else { - app.on('second-instance', (event, commandLine, workingDirectory, additionalData) => { + app.on('second-instance', (event, commandLine, workingDirectory, additionalData, ackCallback) => { // We must call preventDefault if we're sending back data. event.preventDefault() // Print out data received from the second instance.