From 182c5fc25e847cd460c8d612331908d12a34af8a Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 3 Oct 2024 14:23:10 -0300 Subject: [PATCH] change version --- Dockerfile | 2 +- package.json | 2 +- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9fa812c..1d371e53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine AS builder RUN apk update && \ apk add git ffmpeg wget curl bash -LABEL version="2.1.1" description="Api to control whatsapp features through http requests." +LABEL version="2.1.2" description="Api to control whatsapp features through http requests." LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes" LABEL contact="contato@atendai.com" diff --git a/package.json b/package.json index 204c3b9c..e5fea578 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "evolution-api", - "version": "2.1.1", + "version": "2.1.2", "description": "Rest api for communication with WhatsApp", "main": "./dist/main.js", "type": "commonjs", diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 1876f9cb..7e686106 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -1180,7 +1180,7 @@ export class BaileysStartupService extends ChannelStartupService { const contactRaw: { remoteJid: string; pushName: string; profilePicUrl?: string; instanceId: string } = { remoteJid: received.key.remoteJid, - pushName: received.key.fromMe ? '' : (received.key.fromMe == null ? '' : received.pushName), + pushName: received.key.fromMe ? '' : received.key.fromMe == null ? '' : received.pushName, profilePicUrl: (await this.profilePicture(received.key.remoteJid)).profilePictureUrl, instanceId: this.instanceId, };