fix(domains): unused ResponseHeader interface entfernen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -50,14 +50,6 @@ interface DomainFormValues {
|
|||||||
notes?: string
|
notes?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResponseHeader {
|
|
||||||
id: number
|
|
||||||
domain_id: number
|
|
||||||
name: string
|
|
||||||
value: string
|
|
||||||
position: number
|
|
||||||
}
|
|
||||||
|
|
||||||
async function listDomains(): Promise<Domain[]> {
|
async function listDomains(): Promise<Domain[]> {
|
||||||
const r = await apiClient.get('/domains')
|
const r = await apiClient.get('/domains')
|
||||||
if (!isEnvelope(r.data)) return []
|
if (!isEnvelope(r.data)) return []
|
||||||
|
|||||||
Reference in New Issue
Block a user