import { axiosClient } from '@/api/axiosClient'
import type { MedioDetail } from '../types'

export async function getMedio(id: number): Promise<MedioDetail> {
  const response = await axiosClient.get<MedioDetail>(`/api/v1/admin/medios/${id}`)
  return response.data
}
