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

@@ -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']) {