2024-07-25 02:09:49 +02:00

10 lines
218 B
TypeScript

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