Explorar el Código

children_count?

visuddhinanda hace 2 años
padre
commit
97fe00a1dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;