Add basic archive restore dialog

This commit is contained in:
Johannes Zellner
2025-02-06 18:22:07 +01:00
parent 0b73633a66
commit 05f31f40eb
5 changed files with 402 additions and 1 deletions
+10
View File
@@ -98,6 +98,16 @@ function create() {
if (error || result.status !== 204) return [error || result];
return [null];
},
async checkRecords(domain, subdomain) {
let error, result;
try {
result = await fetcher.get(`${origin}/api/v1/domains/${domain}/dns_check`, { subdomain, access_token: accessToken });
} catch (e) {
error = e;
}
if (error || result.status !== 200) return [error || result];
},
};
}