Properly translate account type when creating accounts
This commit is contained in:
parent
a23c0e2759
commit
d2c56d8a98
|
@ -69,7 +69,7 @@ def by_user(user_id):
|
|||
|
||||
def create(values):
|
||||
engine = chryso.connection.get()
|
||||
|
||||
values['type'] = values.pop('account_type')
|
||||
values['source'] = sqlalchemy.select([
|
||||
vanth.tables.OFXSource.c.uuid
|
||||
]).where(vanth.tables.OFXSource.c.name == values.pop('institution'))
|
||||
|
|
Loading…
Reference in New Issue