feat: new manager

This commit is contained in:
Davidson Gomes 2023-12-11 15:31:43 -03:00
parent 87baec5ff8
commit 324d46120b
5 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,7 @@
* Added AWS SQS Integration
* Added compatibility with typebot v2
* Added endpoint sendPresence
* New Instance Manager
### Fixed

View File

@ -39,12 +39,13 @@ This code was produced based on the baileys library and it is still under develo
</a>
</div>
#### Buy me coffe
#### Buy me coffe - PIX
<div align="center">
<a href="https://bmc.link/evolutionapi" target="_blank" rel="noopener noreferrer">
<img src="./public/images/bmc_qr.png" style="width: 50% !important;">
<img src="./public/images/qrcode-pix.png" style="width: 50% !important;">
</a>
<p><b>CHAVE PIX (Telefone):</b> (74)99987-9409</p>
</div>
</br>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -42,6 +42,7 @@ router
message: 'Welcome to the Evolution API, it is working!',
version: packageJson.version,
documentation: `${req.protocol}://${req.get('host')}/docs`,
manager: `${req.protocol}://${req.get('host')}/manager`,
});
})
.use('/instance', new InstanceRouter(configService, ...guards).router)

View File

@ -3423,6 +3423,7 @@ export class WAStartupService {
} else {
throw new BadRequestException('"profilePicture" must be a url or a base64');
}
await this.client.updateProfilePicture(this.instance.wuid, pic);
this.logger.verbose('Profile picture updated');