Skip to content

Commit 7c2c55a

Browse files
author
Eamonn McEvoy
committed
fix(streaming-files): add escape characters to curly braces
1 parent 16f8bed commit 7c2c55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/streaming-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class FileController {
4848

4949
The default content type is `application/octet-stream`, if you need to customize the response you can use `res.set`.
5050

51-
> info **hint** If the @Response parameter is present, it must have `{ passthrough: true }`.
51+
> info **hint** If the @Response parameter is present, it must have `{{ '{' }} passthrough: true {{ '}' }}`.
5252
5353
```ts
5454
import { Controller, Get, StreamableFile, Response } from '@nestjs/common';

0 commit comments

Comments
 (0)