Update WhatsappDirectLine.ts

This commit is contained in:
Rodrigo Rodriguez 2019-06-23 07:25:59 -03:00 committed by GitHub
parent 3d50dc96df
commit eb01c2bc44

View file

@ -185,8 +185,8 @@ export class WhatsappDirectLine extends GBService {
} catch (err) { } catch (err) {
GBLog.error(`Error calling printMessages on Whatsapp channel ${err.data}`); GBLog.error(`Error calling printMessages on Whatsapp channel ${err.data}`);
} }
setInterval(worker, this.pollInterval);
}; };
setInterval(worker, this.pollInterval);
} }
public async printMessages(activities, conversationId, from, fromName) { public async printMessages(activities, conversationId, from, fromName) {