fix: remove space description check

This commit is contained in:
Harshith Mullapudi 2025-10-09 13:20:50 +05:30
parent ecba7f5aa0
commit 2281dab166
2 changed files with 0 additions and 6 deletions

View File

@ -5,7 +5,6 @@ import {
type SpaceAssignmentResult, type SpaceAssignmentResult,
} from "@core/types"; } from "@core/types";
import { logger } from "~/services/logger.service"; import { logger } from "~/services/logger.service";
import { prisma } from "~/trigger/utils/prisma";
/** /**
* Create a new space for a user * Create a new space for a user

View File

@ -12,7 +12,6 @@ import {
createSpace, createSpace,
deleteSpace, deleteSpace,
getSpace, getSpace,
getSpaceEpisodeCount,
getSpaceEpisodes, getSpaceEpisodes,
removeEpisodesFromSpace, removeEpisodesFromSpace,
updateSpace, updateSpace,
@ -35,10 +34,6 @@ export class SpaceService {
throw new Error("Space name too long (max 100 characters)"); throw new Error("Space name too long (max 100 characters)");
} }
if (params.description && params.description.length > 1000) {
throw new Error("Space description too long (max 1000 characters)");
}
// Check for duplicate names // Check for duplicate names
const existingSpaces = await prisma.space.findMany({ const existingSpaces = await prisma.space.findMany({
where: { where: {