From ea6f682ea40237b82dcd8977db047070238befb7 Mon Sep 17 00:00:00 2001 From: Olli Vanhoja Date: Wed, 31 Aug 2016 15:49:02 +0300 Subject: [PATCH] Add a missing await --- lib/alias.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alias.js b/lib/alias.js index e005dbd..1fe30af 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -161,7 +161,7 @@ export default class Alias extends Now { if (!isZeitWorld(nameservers)) { if (this._debug) console.log(`> [debug] Trying to register a non-ZeitWorld domain ${domain} for the current user`); - this.setupDomain(domain, { isExternal: true }); + await this.setupDomain(domain, { isExternal: true }); } console.log(`> Verification ${chalk.bold('OK')}!`);