mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
fix: Resolve issue with connecting to instance
Corrected an issue with connecting to the instance by updating the connection status in the Whatsapp Baileys service. Modified files: - Whatsapp Baileys service (src/api/services/channels/whatsapp.baileys.service.ts)
This commit is contained in:
parent
9f2801d289
commit
819ef70b7b
@ -366,6 +366,13 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
qrcode,
|
||||
),
|
||||
);
|
||||
|
||||
await this.prismaRepository.instance.update({
|
||||
where: { id: this.instanceId },
|
||||
data: {
|
||||
connectionStatus: 'connecting',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (connection) {
|
||||
|
Loading…
Reference in New Issue
Block a user