Corrected error in revoke token callback (#346)

This commit is contained in:
Jonathan Adams 2019-11-02 00:36:32 +00:00 committed by Paulus Schoutsen
parent 2c2a98f3b0
commit 1ef37b6741

View File

@ -47,11 +47,11 @@ When the user presses the logout button on the profile page, the external app wi
```js
window.externalApp.revokeExternalAuth({
callback: 'externalAuthSetToken'
callback: 'externalAuthRevokeToken'
});
// or
window.webkit.messageHandlers.revokeExternalAuth.postMessage({
callback: 'externalAuthSetToken'
callback: 'externalAuthRevokeToken'
});
```