Clean up awkward "the Libra" phrasing left over from rename
Replaces entity-sense references to "the Libra" with "the organization"/"the collective" where Libra was being used as a stand-in for the original "Castle" entity, and drops the redundant "(like cooperatives)" parenthetical in DOCUMENTATION.md. Also swaps the 🏰 emoji in the import helper for ⚖️. Closes #12 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c174cda48d
commit
b2b2c109a4
9 changed files with 22 additions and 22 deletions
|
|
@ -1420,7 +1420,7 @@ async def api_create_revenue_entry(
|
|||
async def api_get_my_balance(
|
||||
wallet: WalletTypeInfo = Depends(require_invoice_key),
|
||||
) -> UserBalance:
|
||||
"""Get current user's balance with the Libra (from Fava/Beancount)"""
|
||||
"""Get current user's balance with the organization (from Fava/Beancount)"""
|
||||
from lnbits.settings import settings as lnbits_settings
|
||||
from .fava_client import get_fava_client
|
||||
|
||||
|
|
@ -1473,7 +1473,7 @@ async def api_get_user_balance(
|
|||
auth: AuthContext = Depends(require_authenticated),
|
||||
) -> UserBalance:
|
||||
"""
|
||||
Get a specific user's balance with the Libra (from Fava/Beancount).
|
||||
Get a specific user's balance with the organization (from Fava/Beancount).
|
||||
|
||||
Users can only access their own balance. Super users can access any user's balance.
|
||||
"""
|
||||
|
|
@ -2521,7 +2521,7 @@ async def api_create_manual_payment_request(
|
|||
data: CreateManualPaymentRequest,
|
||||
wallet: WalletTypeInfo = Depends(require_invoice_key),
|
||||
) -> ManualPaymentRequest:
|
||||
"""Create a manual payment request for the Libra to review"""
|
||||
"""Create a manual payment request for an admin to review"""
|
||||
return await create_manual_payment_request(
|
||||
wallet.wallet.user, data.amount, data.description
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue