Skip to content

Commit

Permalink
attempt to define class decorator in another way
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghel committed Mar 13, 2024
1 parent 89da515 commit 9bff08f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 9bff08f

Please sign in to comment.