diff --git a/packages/backend/src/server/api/endpoints/drive/folders/update.ts b/packages/backend/src/server/api/endpoints/drive/folders/update.ts index cc45bd8c58..2374c754f7 100644 --- a/packages/backend/src/server/api/endpoints/drive/folders/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/folders/update.ts @@ -96,7 +96,7 @@ export default class extends Endpoint { // eslint- // Check if the circular reference will occur const checkCircle = async (folderId: string, limit: number = 32): Promise => { if (limit <= 0) { - return false; + return true; } const folder2 = await this.driveFoldersRepository.findOneByOrFail({ id: folderId,