change version

This commit is contained in:
Davidson Gomes 2024-10-03 14:23:10 -03:00
parent f16e9bc60f
commit 182c5fc25e
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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",

View File

@ -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,
};