diff --git a/src/decorator/public.decorator.ts b/src/decorator/public.decorator.ts new file mode 100644 index 0000000..5b8bb31 --- /dev/null +++ b/src/decorator/public.decorator.ts @@ -0,0 +1,3 @@ +import { SetMetadata } from '@nestjs/common'; + +export const Public = () => SetMetadata('isPublic', true);