From ee2b9452998e592400189986ed2d22ec761bac1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Sat, 12 Jul 2025 17:53:33 +0200 Subject: [PATCH] 0010: fix other to user --- brmbar3/schema/0010-shop-sell-for-cash.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brmbar3/schema/0010-shop-sell-for-cash.sql b/brmbar3/schema/0010-shop-sell-for-cash.sql index de93d62..4881b27 100644 --- a/brmbar3/schema/0010-shop-sell-for-cash.sql +++ b/brmbar3/schema/0010-shop-sell-for-cash.sql @@ -106,7 +106,7 @@ AS $$ BEGIN RETURN brmbar_privileged.sell_item_internal(i_item_id, i_amount, - i_other_id, + i_user_id, i_target_currency_id, (SELECT "name" FROM public.accounts WHERE id = i_user_id), i_description); @@ -125,7 +125,7 @@ AS $$ BEGIN RETURN brmbar_privileged.sell_item_internal(i_item_id, i_amount, - i_other_id, + i_user_id, i_target_currency_id, 'Cash', i_description);