interface: correct order of arguments in resubscribe logic

This commit is contained in:
Liam Fitzgerald 2020-06-20 21:26:44 +10:00
parent 4fded00005
commit 4dfce2a757

View File

@ -12,10 +12,10 @@ export default class BaseSubscription {
onChannelError(err) {
console.error('event source error: ', err);
setTimeout(2000, () => {
setTimeout(() => {
this.store.clear();
this.start();
});
}, 2000);
}
subscribe(path, app) {