@riocrypto/common 1.0.412 → 1.0.414
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.
|
@@ -133,6 +133,7 @@ const authorize = (req, res, next, mongoose, authorizationTypes) => __awaiter(vo
|
|
|
133
133
|
((_g = req.cookies) === null || _g === void 0 ? void 0 : _g.jwt)) {
|
|
134
134
|
throw new missing_user_error_1.MissingUserError();
|
|
135
135
|
}
|
|
136
|
+
console.log("throwing");
|
|
136
137
|
throw new not_authorized_error_1.NotAuthorizedError();
|
|
137
138
|
}
|
|
138
139
|
next();
|
package/build/models/order.js
CHANGED
package/build/models/partner.js
CHANGED
package/build/models/user.js
CHANGED