فهرست منبع

children_count?

visuddhinanda 2 سال پیش
والد
کامیت
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;
   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;