portal: don't double the oc: prefix in the held-credit grant reason

This commit is contained in:
inference-bot committed 2026-11-05 03:48:01 +00:00
1 parent 11a74d955e
commit 6337bcfc24
1 file changed
+1 -1
+1 -1
View File
@@ -3284,7 +3284,7 @@ async def admin_held_grant(hold_id: int, request: Request):
reason = ( reason = (
f"credit pack (${amount:.2f}) bought by {buyer} ({buyer_name}); " f"credit pack (${amount:.2f}) bought by {buyer} ({buyer_name}); "
f"held credit transferred to this member account at the operator's " f"held credit transferred to this member account at the operator's "
f"instruction (hold #{hold_id}, oc:{row[5] or ''})" f"instruction (hold #{hold_id}, {row[5] or 'no oc ref'})"
) )
# One transaction: flip the hold, move the balance, write the audit row. # One transaction: flip the hold, move the balance, write the audit row.
cur = conn.execute( cur = conn.execute(