Pārlūkot izejas kodu

children_count?

visuddhinanda 2 gadi atpakaļ
vecāks
revīzija
97fe00a1dc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
   content_type?: TContentType;
   parent?: string;
   parent?: string;
   status?: "active" | "close";
   status?: "active" | "close";
-  children_count: number;
+  children_count?: number;
   editor: IUserApiData;
   editor: IUserApiData;
   created_at?: string;
   created_at?: string;
   updated_at?: string;
   updated_at?: string;