mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-23 13:52:15 -06:00
fixed docker files and quoted message option
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# Choose the server type for the application
|
||||
SERVER:
|
||||
TYPE: http # https
|
||||
PORT: 8083 # 443
|
||||
PORT: 8080 # 443
|
||||
|
||||
CORS:
|
||||
ORIGIN:
|
||||
|
||||
@@ -81,7 +81,6 @@ const quotedOptionsSchema: JSONSchema7 = {
|
||||
required: ['id', 'remoteJid', 'fromMe'],
|
||||
...isNotEmpty('id', 'remoteJid'),
|
||||
},
|
||||
message: { type: 'object' },
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user