Skip to content

Commit bb921b8

Browse files
author
0x8890
committed
fix output record
1 parent a045272 commit bb921b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function outputRecord (type, record) {
6464
continue
6565
}
6666

67-
if (field in record) clone[field] = record[field]
67+
clone[field] = value
6868
}
6969

7070
return clone

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fortune-mongodb",
33
"description": "MongoDB adapter for Fortune.",
4-
"version": "1.0.9",
4+
"version": "1.0.10",
55
"license": "MIT",
66
"author": {
77
"email": "[email protected]",

0 commit comments

Comments
 (0)