فهرست منبع

IUserApiData->IUser

visuddhinanda 2 سال پیش
والد
کامیت
b0e532bf3b
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      dashboard/src/components/api/Comment.ts

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

@@ -1,3 +1,4 @@
+import { IUser } from "../auth/User";
 import { TContentType } from "../discussion/DiscussionCreate";
 import { TResType } from "../discussion/DiscussionListCard";
 import { IUserApiData } from "./Auth";
@@ -29,7 +30,7 @@ export interface ICommentApiData {
   tpl_id?: string;
   status?: "active" | "close";
   children_count?: number;
-  editor: IUserApiData;
+  editor: IUser;
   created_at?: string;
   updated_at?: string;
 }