Check v2 workspace membership routes (currently not routed)

This commit is contained in:
Tuan Dang
2023-01-14 21:07:17 +07:00
parent e2b4adb2e9
commit 5085376f11
4 changed files with 5 additions and 4 deletions
@@ -45,7 +45,8 @@ const requireMembershipAuth = ({
});
req.targetMembership = targetMembership;
return next();
} catch (err) {
return next(UnauthorizedRequestError({
message: 'Unable to validate workspace membership'