Przeglądaj źródła

editor: IUserApiResponse; -> IUser

visuddhinanda 2 lat temu
rodzic
commit
92ecb332ed
1 zmienionych plików z 2 dodań i 2 usunięć
  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;
 }