fix: added restart instance when update profile pricture

This commit is contained in:
Davidson Gomes 2023-12-11 18:17:18 -03:00
parent d4a33e2290
commit f069a41390

View File

@ -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) {