Skip to content

Commit 765cf0d

Browse files
authored
Attachment need two parameters (#121)
1 parent de3f0b6 commit 765cf0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/guide/response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ used to send file as attachment with provided name.
245245

246246
```go
247247
func(c echo.Context) error {
248-
return c.Attachment("<PATH_TO_YOUR_FILE>")
248+
return c.Attachment("<PATH_TO_YOUR_FILE>", "<ATTACHMENT_NAME>")
249249
}
250250
```
251251

0 commit comments

Comments
 (0)