visuddhinanda 2 anni fa
parent
commit
97fe00a1dc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;