Skip to content

Commit

Permalink
style(common,core): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
micalevisk committed Feb 9, 2024
1 parent 441715a commit 985c5e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/common/decorators/http/header.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ import { extendArrayMetadata } from '../../utils/extend-metadata.util';
*
* @publicApi
*/
export function Header(name: string, value: string | (() => string)): MethodDecorator {
export function Header(
name: string,
value: string | (() => string),
): MethodDecorator {
return (
target: object,
key: string | symbol,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/router/router-response-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class RouterResponseController {
this.applicationRef.setHeader(
response,
name,
typeof value === 'function' ? value() : value
typeof value === 'function' ? value() : value,
),
);
}
Expand Down

0 comments on commit 985c5e1

Please sign in to comment.