Преглед изворни кода

editor: IUserApiResponse; -> IUser

visuddhinanda пре 2 година
родитељ
комит
92ecb332ed
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      dashboard/src/components/api/Suggestion.ts

+ 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";
 
 export interface ISuggestionData {
@@ -11,7 +11,7 @@ export interface ISuggestionData {
   channel: IChannelApiData;
   content: string;
   html: string;
-  editor: IUserApiResponse;
+  editor: IUser;
   created_at: string;
   updated_at: string;
 }