Skip to content

Commit

Permalink
Merge pull request #151 from jim-toth/patch-5
Browse files Browse the repository at this point in the history
Fix unbundling first item id in tx post route
  • Loading branch information
cedriking authored Dec 6, 2023
2 parents d0c4564 + f083ebc commit d3e9cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export async function txPostRoute(ctx: Router.RouterContext) {
request: {
...ctx.request,
body: {
id: bundle.getIdBy(i),
id: bundle.get(i).id,
bundledIn: data.id,
...item.toJSON(),
},
Expand Down

0 comments on commit d3e9cf8

Please sign in to comment.