9 lines
216 B
TypeScript
Raw Normal View History

2024-12-30 23:50:15 +01:00
import {Domain, 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
}