"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Auth = void 0;
const common_1 = require("@nestjs/common");
const auth_guard_1 = require("../../auth/guards/auth.guard");
const Auth = (optional = false) => (0, common_1.applyDecorators)((0, common_1.SetMetadata)(auth_guard_1.OPTIONAL_AUTH_KEY, optional), (0, common_1.UseGuards)(auth_guard_1.NestAuthAuthGuard));
exports.Auth = Auth;
//# sourceMappingURL=auth.decorator.js.map