From 5b70346ee347e687ed7cb67179ec1f9c3ce8eab7 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Wed, 28 May 2025 08:25:54 +0800 Subject: [PATCH] add --- apps/backend/src/upload/tus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/upload/tus.ts b/apps/backend/src/upload/tus.ts index 55d8950..d98c7fe 100644 --- a/apps/backend/src/upload/tus.ts +++ b/apps/backend/src/upload/tus.ts @@ -1,7 +1,7 @@ import { Server, Upload } from '@repo/tus'; import { prisma } from '@repo/db'; import { getFilenameWithoutExt } from '../utils/file'; -import { nanoid } from 'nanoid-cjs'; +import { nanoid } from 'nanoid'; import { slugify } from 'transliteration'; import { StorageManager } from './storage.adapter';