Skip to content

Commit edc83f4

Browse files
authored
reference column record population issue - fixed
f006542#diff-66d237085f98e684b331afecd9dbb701L81-R103
1 parent 9c423be commit edc83f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Resource extends BaseResource {
100100
where: { [this.primaryKey()]: ids },
101101
})
102102
const recordsHash = records.reduce((memo, record) => {
103-
memo[this.primaryKey()] = record
103+
memo[record[this.primaryKey()]] = record
104104
return memo
105105
}, {})
106106
baseRecords.forEach((baseRecord) => {

0 commit comments

Comments
 (0)