aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.js')
-rw-r--r--lib/utils.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/utils.js b/lib/utils.js
index d286d093..e6aba14a 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -66,7 +66,5 @@ export let fields = [
];
export let getUser = async (username) => {
- let user = await migrate(username);
- if (!user || username === "undefined") fail(`user ${username} not found`);
- return user;
+ return migrate(username);
};