mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-21 19:47:21 -06:00
fix: added restart instance when update profile pricture
This commit is contained in:
parent
d4a33e2290
commit
f069a41390
@ -3427,7 +3427,7 @@ export class WAStartupService {
|
||||
await this.client.updateProfilePicture(this.instance.wuid, pic);
|
||||
this.logger.verbose('Profile picture updated');
|
||||
|
||||
this.reloadConnection();
|
||||
await this.reloadConnection();
|
||||
|
||||
return { update: 'success' };
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user