2
0
Эх сурвалжийг харах

editor: IUserApiResponse; -> IUser

visuddhinanda 2 жил өмнө
parent
commit
92ecb332ed

+ 2 - 2
dashboard/src/components/api/Suggestion.ts

@@ -1,4 +1,4 @@
-import { IUserApiResponse } from "./Auth";
+import { IUser } from "../auth/User";
 import { IChannelApiData } from "./Channel";
 import { IChannelApiData } from "./Channel";
 
 
 export interface ISuggestionData {
 export interface ISuggestionData {
@@ -11,7 +11,7 @@ export interface ISuggestionData {
   channel: IChannelApiData;
   channel: IChannelApiData;
   content: string;
   content: string;
   html: string;
   html: string;
-  editor: IUserApiResponse;
+  editor: IUser;
   created_at: string;
   created_at: string;
   updated_at: string;
   updated_at: string;
 }
 }