From 9bff08fa5f532c516de5911e0e4d9ced6b566916 Mon Sep 17 00:00:00 2001 From: tanghel Date: Wed, 13 Mar 2024 16:09:10 +0200 Subject: [PATCH] attempt to define class decorator in another way --- .../entities/disable.fields.interceptor.on.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http/src/interceptors/entities/disable.fields.interceptor.on.controller.ts b/packages/http/src/interceptors/entities/disable.fields.interceptor.on.controller.ts index 53f6eb37..b2b1d4ec 100644 --- a/packages/http/src/interceptors/entities/disable.fields.interceptor.on.controller.ts +++ b/packages/http/src/interceptors/entities/disable.fields.interceptor.on.controller.ts @@ -2,4 +2,4 @@ import { DecoratorUtils } from "@multiversx/sdk-nestjs-common/lib/utils/decorato export class DisableFieldsInterceptorOnControllerOptions { } -export const DisableFieldsInterceptorOnController = DecoratorUtils.registerClassDecorator(DisableFieldsInterceptorOnControllerOptions, {}); +export const DisableFieldsInterceptorOnController = DecoratorUtils.registerClassDecorator(Object, DisableFieldsInterceptorOnControllerOptions);