10 lines
218 B
TypeScript
Raw Normal View History

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