Skip to content

Commit

Permalink
Inclusão do campo number
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Feb 26, 2023
1 parent 9373ba6 commit bfc403f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/WbotServices/wbotMonitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const wbotMonitor = async (
wbot.on("disconnected", async reason => {
logger.info(`Disconnected session: ${sessionName}, reason: ${reason}`);
try {
await whatsapp.update({ status: "OPENING", session: "" });
await whatsapp.update({ status: "OPENING", session: "", number: "" });
} catch (err) {
Sentry.captureException(err);
logger.error(err);
Expand Down

0 comments on commit bfc403f

Please sign in to comment.