FEATURE: adds automatic format detected to the frontend

This commit is contained in:
2026-08-20 19:59:11 +05:00
parent 8a1e2a5335
commit 364fc7a8fe
3 changed files with 58 additions and 5 deletions
+5
View File
@@ -63,3 +63,8 @@ export const getTaskInfo = async (task_id: string): Promise<{
const response = await api.get(`/info/${task_id}`)
return response.data
}
export const getRecommendedFormat = async (task_id: string): Promise<{ format: string }> => {
const response = await api.get(`/info/recommended-format/${task_id}`)
return response.data
}