Skip to content

Commit 425d340

Browse files
committed
Fix: cuid security deprecacion
1 parent f2872cf commit 425d340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ import {
7676
import { BadRequestException, InternalServerErrorException, NotFoundException } from '@exceptions';
7777
import ffmpegPath from '@ffmpeg-installer/ffmpeg';
7878
import { Boom } from '@hapi/boom';
79+
import { createId as cuid } from '@paralleldrive/cuid2';
7980
import { Instance } from '@prisma/client';
8081
import { makeProxyAgent } from '@utils/makeProxyAgent';
8182
import { getOnWhatsappCache, saveOnWhatsappCache } from '@utils/onWhatsappCache';

0 commit comments

Comments
 (0)