feat: change interface of analysis video log
This commit is contained in:
@@ -45,7 +45,9 @@ export const videoService = {
|
||||
* Get analysis results for a video
|
||||
*/
|
||||
getVideoResults: async (videoId: string): Promise<CompletedVideoResult> => {
|
||||
const response = await axiosClient.get(API_ROUTES.VIDEOS.RESULTS(videoId));
|
||||
const response = await axiosClient.get<CompletedVideoResult>(
|
||||
API_ROUTES.VIDEOS.RESULTS(videoId),
|
||||
);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user