2024-12-31 13:55:42 +01:00
|
|
|
import type {Domain} from '.'
|
|
|
|
|
import { request} from '.'
|
2024-07-25 02:09:49 +02:00
|
|
|
|
|
|
|
|
export async function getDomain(ldhName: string): Promise<Domain> {
|
|
|
|
|
const response = await request<Domain>({
|
|
|
|
|
url: 'domains/' + ldhName
|
|
|
|
|
})
|
|
|
|
|
return response.data
|
|
|
|
|
}
|