Skip to content

Commit f069a41

Browse files
committed
fix: added restart instance when update profile pricture
1 parent d4a33e2 commit f069a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whatsapp/services/whatsapp.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,7 @@ export class WAStartupService {
34273427
await this.client.updateProfilePicture(this.instance.wuid, pic);
34283428
this.logger.verbose('Profile picture updated');
34293429

3430-
this.reloadConnection();
3430+
await this.reloadConnection();
34313431

34323432
return { update: 'success' };
34333433
} catch (error) {

0 commit comments

Comments
 (0)