From 4567844874cde956ca6d1c800b366f5cf094adc5 Mon Sep 17 00:00:00 2001 From: Catrya <140891948+Catrya@users.noreply.github.com> Date: Sat, 26 Oct 2024 12:38:57 -0400 Subject: [PATCH] fix tests --- bot/commands.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot/commands.js b/bot/commands.js index c7573f63..55a01143 100644 --- a/bot/commands.js +++ b/bot/commands.js @@ -282,8 +282,7 @@ const cancelAddInvoice = async (ctx, order, job) => { sellerUser, order, i18nCtx - ); - const i18nCtxBuyer = await getUserI18nContext(buyerUser); + ); await messages.counterPartyCancelOrderMessage( ctx, buyerUser, @@ -462,8 +461,7 @@ const cancelShowHoldInvoice = async (ctx, order, job) => { buyerUser, order, i18nCtx - ); - const i18nCtxSeller = await getUserI18nContext(sellerUser); + ); await messages.counterPartyCancelOrderMessage( ctx, sellerUser,