Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit 37280bf

Browse files
committed
Return promise for Maps4News::logout
1 parent 0b5a553 commit 37280bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Maps4News.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,10 @@ export default class Maps4News extends mix(null, Injectable) {
601601
/**
602602
* Forget the current session
603603
* This will clean up any stored OAuth states stored using {@link StateContainer} and any OAuth tokens stored
604+
* @async
604605
*/
605606
logout () {
606-
this.auth.logout();
607+
return this.auth.logout();
607608
}
608609

609610
/**

0 commit comments

Comments
 (0)