mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: domain methods
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
async function verifyStatus() {
|
||||
try {
|
||||
// domainData = await sdk.forConsole.domains.verification(domainData.$id);
|
||||
domainData = await sdk.forConsole.domains.updateNameservers(domainData.$id);
|
||||
console.log(domainData);
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
async function back() {
|
||||
try {
|
||||
await sdk.forProject.proxy.deleteRule(domainData.$id);
|
||||
await sdk.forConsole.domains.delete(domainData.$id);
|
||||
domainData = undefined;
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
import { PAGE_LIMIT, Dependencies } from '$lib/constants';
|
||||
import { getSearch, pageToOffset, getLimit, getPage } from '$lib/helpers/load';
|
||||
import { sdk } from '$lib/stores/sdk.js';
|
||||
|
||||
export const load = async ({ parent, depends, url, route }) => {
|
||||
depends(Dependencies.DOMAIN);
|
||||
|
||||
Reference in New Issue
Block a user