Resolves minor naming issue

This commit is contained in:
emmdim 2020-03-11 19:28:15 +01:00
parent 2810990fda
commit 2aa527c0c3
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ class Deliverynote(Thing):
date = f.DateTime('iso', required=True)
deposit = f.Integer(validate=f.validate.Range(min=0, max=100),
description=m.Deliverynote.deposit.__doc__)
ethereum_address = f.String(description='User identifier address inside the Blockchain',
data_key='ethereumAddress')
ethereum_address = f.String(description='User identifier address inside the Blockchain')
expected_devices = f.List(f.Dict, required=True, data_key='expectedDevices')
transferred_devices = f.List(f.Integer(), required=False, data_key='transferredDevices')
transfer_state = EnumField(TransferState, description=m.Lot.transfer_state.comment)