From 72b7a6fdb437e3da803e64a14a6873d2a3d3fa67 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 25 Feb 2022 11:25:13 +0000 Subject: [PATCH] Fixed bug where User class assumed that it was an Account --- lib/User.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/User.js b/lib/User.js index fa2ee14..dc26362 100644 --- a/lib/User.js +++ b/lib/User.js @@ -33,7 +33,7 @@ class User { otherNames, lastName, password, - accountId as id + ${type}Id as id from ${type} where ${type}Id = ?;