feat: Route to fetch all privacy settings

This commit is contained in:
Davidson Gomes
2023-06-11 11:04:52 -03:00
parent ea8d6bf6c8
commit 55e36f24a5
4 changed files with 19 additions and 0 deletions

View File

@@ -1475,6 +1475,10 @@ export class WAStartupService {
return await this.repository.chat.find({ where: { owner: this.instance.wuid } });
}
public async fetchPrivacySettings() {
return await this.client.fetchPrivacySettings();
}
public async getBusinessProfile(number: string) {
try {
let jid;