Skip to content

Commit 196c2e0

Browse files
committed
Removed logs & updated version
1 parent 10b48ae commit 196c2e0

File tree

6 files changed

+3
-9
lines changed

6 files changed

+3
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:20.7.0-alpine AS builder
22

3-
LABEL version="1.6.2" description="Api to control whatsapp features through http requests."
3+
LABEL version="1.7.0" description="Api to control whatsapp features through http requests."
44
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
55
LABEL contact="contato@agenciadgcode.com"
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "evolution-api",
3-
"version": "1.6.2",
3+
"version": "1.7.0",
44
"description": "Rest api for communication with WhatsApp",
55
"main": "./dist/src/main.js",
66
"scripts": {

src/docs/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ info:
2525
</font>
2626
2727
[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/26869335-5546d063-156b-4529-915f-909dd628c090?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D26869335-5546d063-156b-4529-915f-909dd628c090%26entityType%3Dcollection%26workspaceId%3D339a4ee7-378b-45c9-b5b8-fd2c0a9c2442)
28-
version: 1.6.2
28+
version: 1.7.0
2929
contact:
3030
name: DavidsonGomes
3131
email: contato@agenciadgcode.com

src/libs/amqp.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ let amqpChannel: Channel | null = null;
2828
export const initAMQP = () => {
2929
return new Promise<void>((resolve, reject) => {
3030
const rabbitConfig = configService.get<Rabbitmq>('RABBITMQ');
31-
console.log(rabbitConfig);
3231
connect(rabbitConfig.URI, (error, connection) => {
3332
if (error) {
3433
reject(error);

src/whatsapp/services/whatsapp.baileys.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@ export class BaileysStartupService extends WAStartupService {
11241124
5: 'PLAYED',
11251125
};
11261126
for await (const { key, update } of args) {
1127-
console.log(key);
11281127
if (settings?.groups_ignore && key.remoteJid?.includes('@g.us')) {
11291128
this.logger.verbose('group ignored');
11301129
return;

src/whatsapp/services/whatsapp.business.service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ export class BusinessStartupService extends WAStartupService {
303303
if (received.contacts) pushName = received.contacts[0].profile.name;
304304

305305
if (received.messages) {
306-
console.log('received?.messages[0]', received?.messages[0]);
307306
const key = {
308307
id: received.messages[0].id,
309308
remoteJid: this.phoneNumber,
@@ -772,9 +771,6 @@ export class BusinessStartupService extends WAStartupService {
772771
}
773772
})();
774773

775-
console.log('messageSent', messageSent);
776-
console.log('message', message);
777-
778774
const messageRaw: MessageRaw = {
779775
key: { fromMe: true, id: messageSent?.messages[0]?.id, remoteJid: this.createJid(number) },
780776
//pushName: messageSent.pushName,

0 commit comments

Comments
 (0)