Update WhatsappDirectLine.ts

This commit is contained in:
Rodrigo Rodriguez 2019-06-23 07:25:59 -03:00 committed by GitHub
parent a7de845164
commit 6fce0bef29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {