From 4d48c417b5adb9f2d54395a5e291ede9bb6ae1e2 Mon Sep 17 00:00:00 2001 From: Cedrik <33100863+cedriking@users.noreply.github.com> Date: Thu, 21 Mar 2024 07:08:35 -0600 Subject: [PATCH] 1.1.66 --- package.json | 2 +- src/routes/transaction.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d2387e9..7457023 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arlocal", - "version": "1.1.65", + "version": "1.1.66", "main": "./bin/app.js", "repository": "https://github.com/textury/arlocal.git", "author": "Cedrik ", diff --git a/src/routes/transaction.ts b/src/routes/transaction.ts index 6953893..65d81bf 100644 --- a/src/routes/transaction.ts +++ b/src/routes/transaction.ts @@ -520,10 +520,10 @@ export async function txPendingRoute(ctx: Router.RouterContext) { const txIds = await transactionDB.getUnminedTxs(); - ctx.status = 200 - ctx.body = txIds + ctx.status = 200; + ctx.body = txIds; } catch (error) { - console.error({ error }) + console.error({ error }); ctx.status = 500; ctx.body = { error: error.message }; }