mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
feat: new manager
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user