Skip to content

Commit 087c414

Browse files
committed
Fix replica identity changes when using subscribe
1 parent db26c62 commit 087c414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/subscribe.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function parse(x, state, parsers, handle, transform) {
191191
i += 4
192192
const key = x[i] === 75
193193
handle(key || x[i] === 79
194-
? tuples(x, key ? relation.keys : relation.columns, i += 3, transform).row
194+
? tuples(x, relation.columns, i += 3, transform).row
195195
: null
196196
, {
197197
command: 'delete',
@@ -205,7 +205,7 @@ function parse(x, state, parsers, handle, transform) {
205205
i += 4
206206
const key = x[i] === 75
207207
const xs = key || x[i] === 79
208-
? tuples(x, key ? relation.keys : relation.columns, i += 3, transform)
208+
? tuples(x, relation.columns, i += 3, transform)
209209
: null
210210

211211
xs && (i = xs.i)

0 commit comments

Comments
 (0)