Skip to content

Commit 8fc778b

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/integrations/channel/evolution/evolution.channel.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,9 @@ export class EvolutionStartupService extends ChannelStartupService {
876876
public async fetchLabels() {
877877
throw new BadRequestException('Method not available on Evolution Channel');
878878
}
879+
public async syncLabels() {
880+
throw new BadRequestException('Method not available on Evolution Channel');
881+
}
879882
public async handleLabel() {
880883
throw new BadRequestException('Method not available on Evolution Channel');
881884
}

0 commit comments

Comments
 (0)