Skip to content

Commit bd1d3c5

Browse files
committed
Replace off call with removeListener
1 parent 51e4a3d commit bd1d3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solid-auth-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class SolidAuthClient extends EventEmitter {
8787
}
8888

8989
stopTrackingSession(callback: Function): void {
90-
this.off('session', callback)
90+
this.removeListener('session', callback)
9191
}
9292

9393
async logout(storage: AsyncStorage = defaultStorage()): Promise<void> {

0 commit comments

Comments
 (0)