1
0
Fork 0
forked from aiolabs/libra

Replaces user wallet ID with user ID

Updates the receivable entry model and related API endpoints to use the user's ID instead of the user's wallet ID.

This change simplifies user identification and ensures consistency throughout the application.
This commit is contained in:
padreug 2025-10-22 16:27:16 +02:00
commit eb9a3c1600
3 changed files with 5 additions and 5 deletions

View file

@ -87,7 +87,7 @@ window.app = Vue.createApp({
this.users.forEach(user => {
options.push({
label: user.username,
value: user.user_wallet_id
value: user.user_id
})
})
return options
@ -364,7 +364,7 @@ window.app = Vue.createApp({
description: this.receivableDialog.description,
amount: this.receivableDialog.amount,
revenue_account: this.receivableDialog.revenueAccount,
user_wallet: this.receivableDialog.selectedUser,
user_id: this.receivableDialog.selectedUser,
reference: this.receivableDialog.reference || null,
currency: this.receivableDialog.currency || null
}