@riocrypto/common 1.0.395 → 1.0.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -114,7 +114,9 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
|
|
|
114
114
|
throw new missing_user_error_1.MissingUserError();
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
catch (err) {
|
|
117
|
+
catch (err) {
|
|
118
|
+
throw new missing_user_error_1.MissingUserError();
|
|
119
|
+
}
|
|
118
120
|
}
|
|
119
121
|
if (!req.currentAdminAuth && !req.currentAuth && !req.user) {
|
|
120
122
|
if (missingKYC) {
|