mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: delete account actually deletes account
This commit is contained in:
1 parent
3faf2d8a69
commit
07fbc29b08
3 files changed
+6
-6
No files matched your search
Generated
+4
-4
@@ -6,7 +6,7 @@
|
||||
"": {
|
||||
"name": "@appwrite/console",
|
||||
"dependencies": {
|
||||
"@appwrite.io/console": "^0.4.2",
|
||||
"@appwrite.io/console": "^0.5.0",
|
||||
"@appwrite.io/pink": "0.2.0",
|
||||
"@appwrite.io/pink-icons": "0.2.0",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
@@ -159,9 +159,9 @@
|
||||
"integrity": "sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg=="
|
||||
},
|
||||
"node_modules/@appwrite.io/console": {
|
||||
"version": "0.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@appwrite.io/console/-/console-0.4.2.tgz",
|
||||
"integrity": "sha512-WUltkC5q7RIK7TDCb+qTXq2cPtBek9k98Ilqcn8Lv3rN5ZuK0x33AwcpTAEPD0DE9phWXmvoV1a8H5PGMcGKew==",
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@appwrite.io/console/-/console-0.5.0.tgz",
|
||||
"integrity": "sha512-WqjVc6lrmOwNGoyAGNx7z/sBJou1EgGbnGn87TuBvfhZ/zcYSdi+Nc010EwGpyUvPeNhL2ci8Jj3eYnelJVKwg==",
|
||||
"dependencies": {
|
||||
"cross-fetch": "3.1.5",
|
||||
"isomorphic-form-data": "2.0.0"
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
"e2e": "playwright test tests/e2e"
|
||||
},
|
||||
"dependencies": {
|
||||
"@appwrite.io/console": "^0.4.2",
|
||||
"@appwrite.io/console": "^0.5.0",
|
||||
"@appwrite.io/pink": "0.2.0",
|
||||
"@appwrite.io/pink-icons": "0.2.0",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
async function deleteAccount() {
|
||||
try {
|
||||
await sdk.forConsole.account.updateStatus();
|
||||
await sdk.forConsole.account.delete();
|
||||
await invalidate(Dependencies.ACCOUNT);
|
||||
showDelete = false;
|
||||
addNotification({
|
||||
|
||||
Reference in new issue
Block a user