Skip to content

Commit 58e408c

Browse files
authored
(#8668) - fix typo in attachments guide
"Allow users to store an attachment" guide uses `type` instead of `content_type`
1 parent 9e307c3 commit 58e408c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_guides/attachments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ input.addEventListener('change', function () {
204204
_id: 'mydoc',
205205
_attachments: {
206206
filename: {
207-
type: file.type,
207+
content_type: file.type,
208208
data: file
209209
}
210210
}

0 commit comments

Comments
 (0)