2024-12-31 13:55:42 +01:00

10 lines
239 B
TypeScript

import type {Domain} from '.'
import { request} from '.'
export async function getDomain(ldhName: string): Promise<Domain> {
const response = await request<Domain>({
url: 'domains/' + ldhName
})
return response.data
}