From 5d498adf32cb344fc02a1f5ccf37c87b8c711351 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 25 May 2017 21:51:34 +0200 Subject: [PATCH] Fix balances_model name. --- accountant/views/accounts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/accountant/views/accounts.py b/accountant/views/accounts.py index 3927a7a..eab9d77 100644 --- a/accountant/views/accounts.py +++ b/accountant/views/accounts.py @@ -30,16 +30,16 @@ account_model = ns.model('Account', { }) # Account status model. -solds_model = ns.model('Solds', { +balances_model = ns.model('Account balances', { 'current': fields.Float( readonly=True, - description='Current sold of the account'), + description='Current balance of the account'), 'pointed': fields.Float( readonly=True, - description='Pointed sold of the account'), + description='Pointed balance of the account'), 'future': fields.Float( readonly=True, - description='Future sold of the account') + description='Future balance of the account') }) # Account balance model.