feat: change interface of analysis video log

This commit is contained in:
2026-07-02 13:57:18 +05:30
parent 2eb58856af
commit 53fe4e11fe
7 changed files with 126 additions and 53 deletions

View File

@@ -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;
},