Skip to content

Commit e7df2e2

Browse files
committed
feat(label): add syncLabels stub to WhatsApp Business API
Throws BadRequestException as syncLabels is only available for Baileys (WhatsApp Web) connections.
1 parent 8fc778b commit e7df2e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/integrations/channel/meta/whatsapp.business.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,6 +1759,9 @@ export class BusinessStartupService extends ChannelStartupService {
17591759
public async fetchLabels() {
17601760
throw new BadRequestException('Method not available on WhatsApp Business API');
17611761
}
1762+
public async syncLabels() {
1763+
throw new BadRequestException('Method not available on WhatsApp Business API');
1764+
}
17621765
public async handleLabel() {
17631766
throw new BadRequestException('Method not available on WhatsApp Business API');
17641767
}

0 commit comments

Comments
 (0)