0010: fix other to user

This commit is contained in:
Dominik Pantůček 2025-07-12 17:53:33 +02:00
parent 38838692c6
commit ee2b945299

View file

@ -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);