FEATURE: adds automatic format detected to the frontend
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user