From 9e6b6b659e4032482f4d32da75ac5bd2dd2d35de Mon Sep 17 00:00:00 2001 From: significance Date: Wed, 2 Oct 2019 16:22:42 +0100 Subject: [PATCH] tweak for legacy.fairdrop.xyz --- models/User.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/User.js b/models/User.js index b6217a6..9ca565d 100644 --- a/models/User.js +++ b/models/User.js @@ -208,13 +208,13 @@ async getAddressOf(subdomain) { getBackup(){ return { data: JSON.stringify(this.wallet), - name: `fairdrop-wallet-${this.subdomain}-backup.json` + name: `fds-wallet-${this.subdomain}-backup.json` } } /** get wallet file * @returns {any} wallet file */ getBackupFile(){ - return new File([JSON.stringify(this.wallet)], `fairdrop-wallet-${this.subdomain}-backup.json`, {type: 'application/json'}); + return new File([JSON.stringify(this.wallet)], `fds-wallet-${this.subdomain}-backup.json`, {type: 'application/json'}); } /** Save wallet backup * @returns {any} result of save operation */