mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 03:56:54 -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);
|
await this.client.updateProfilePicture(this.instance.wuid, pic);
|
||||||
this.logger.verbose('Profile picture updated');
|
this.logger.verbose('Profile picture updated');
|
||||||
|
|
||||||
this.reloadConnection();
|
await this.reloadConnection();
|
||||||
|
|
||||||
return { update: 'success' };
|
return { update: 'success' };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user