mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
fix: fetch instances
This commit is contained in:
@@ -1762,7 +1762,8 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
website: business?.website?.shift(),
|
||||
};
|
||||
} else {
|
||||
const info: Instance = await waMonitor.instanceInfo([instanceName]);
|
||||
const instanceNames = instanceName ? [instanceName] : null;
|
||||
const info: Instance = await waMonitor.instanceInfo(instanceNames);
|
||||
const business = await this.fetchBusinessProfile(jid);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user