fixed docker files and quoted message option

This commit is contained in:
Davidson Gomes
2023-06-13 13:11:24 -03:00
parent f2d0a8eb8c
commit 485c8c3113
7 changed files with 51 additions and 43 deletions

View File

@@ -7,7 +7,7 @@
# Choose the server type for the application
SERVER:
TYPE: http # https
PORT: 8083 # 443
PORT: 8080 # 443
CORS:
ORIGIN:

View File

@@ -81,7 +81,6 @@ const quotedOptionsSchema: JSONSchema7 = {
required: ['id', 'remoteJid', 'fromMe'],
...isNotEmpty('id', 'remoteJid'),
},
message: { type: 'object' },
},
};

View File

@@ -71,7 +71,7 @@ export class WAMonitoringService {
let apikey: string;
if (this.configService.get<Auth>('AUTHENTICATION').EXPOSE_IN_FETCH_INSTANCES) {
const tokenStore = await this.repository.auth.find(key);
apikey = tokenStore.apikey || '';
apikey = tokenStore.apikey || 'Apikey not found';
instances.push({
instance: {

View File

@@ -983,7 +983,12 @@ export class WAStartupService {
const messageSent = await (async () => {
const option = {
quoted,
quoted: {
key: quoted.key,
message: {
conversation: 'message',
},
},
};
if (!message['audio'] && !message['poll'] && !message['linkPreview']) {