From e1227f0b58b92b2d4b97d22387b7960d249a58fe Mon Sep 17 00:00:00 2001 From: "M. Palanikannan" <73993394+Palanikannan1437@users.noreply.github.com> Date: Mon, 9 Feb 2026 15:18:09 +0530 Subject: [PATCH] fix: type fix for description payload (#8619) * fix: type fix * fix: duplicate type fix --- apps/live/src/services/page/core.service.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/live/src/services/page/core.service.ts b/apps/live/src/services/page/core.service.ts index 9d51d8236..c3f3242cf 100644 --- a/apps/live/src/services/page/core.service.ts +++ b/apps/live/src/services/page/core.service.ts @@ -5,17 +5,11 @@ */ import { logger } from "@plane/logger"; -import type { TPage } from "@plane/types"; +import type { TDocumentPayload, TPage } from "@plane/types"; // services import { AppError } from "@/lib/errors"; import { APIService } from "../api.service"; -export type TPageDescriptionPayload = { - description_binary: string; - description_html: string; - description: object; -}; - export type TUserMention = { id: string; display_name: string; @@ -121,7 +115,7 @@ export abstract class PageCoreService extends APIService { } } - async updateDescriptionBinary(pageId: string, data: TPageDescriptionPayload): Promise { + async updateDescriptionBinary(pageId: string, data: TDocumentPayload): Promise { try { const response = await this.patch(`${this.basePath}/pages/${pageId}/description/`, data, { headers: this.getHeader(),