Skip to content

Commit 611e8d4

Browse files
committed
updates
1 parent 1e69e73 commit 611e8d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/jvzoo/sources/new-transaction-created/new-transaction-created.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export default {
2828
},
2929
generateMeta(transaction) {
3030
return {
31-
id: transaction.id,
32-
summary: `New transaction created: ${transaction.id}`,
31+
id: transaction.transaction_id,
32+
summary: `New transaction created: ${transaction.transaction_id}`,
3333
ts: Date.parse(transaction.date),
3434
};
3535
},
@@ -52,7 +52,7 @@ export default {
5252
for (const transaction of transactions) {
5353
this.$emit(transaction, this.generateMeta(transaction));
5454
}
55-
this._setPaykey(results[results.length - 1].id);
55+
this._setPaykey(results[results.length - 1].transaction_id);
5656
},
5757
},
5858
hooks: {

0 commit comments

Comments
 (0)