@nestdevx/tenant
Version:
Tenant module for multi-tenant NestJS applications.
9 lines • 374 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Protected = Protected;
const common_1 = require("@nestjs/common");
const jwt_auth_guard_1 = require("../guards/jwt-auth.guard");
function Protected() {
return (0, common_1.applyDecorators)((0, common_1.UseGuards)(jwt_auth_guard_1.JwtAuthGuard));
}
//# sourceMappingURL=protected.js.map