소스 검색

children_count?

visuddhinanda 3 년 전
부모
커밋
97fe00a1dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dashboard/src/components/api/Comment.ts

+ 1 - 1
dashboard/src/components/api/Comment.ts

@@ -25,7 +25,7 @@ export interface ICommentApiData {
   content_type?: TContentType;
   parent?: string;
   status?: "active" | "close";
-  children_count: number;
+  children_count?: number;
   editor: IUserApiData;
   created_at?: string;
   updated_at?: string;