From 2aa527c0c30d1b49066027f29fac527da50b5825 Mon Sep 17 00:00:00 2001 From: emmdim Date: Wed, 11 Mar 2020 19:28:15 +0100 Subject: [PATCH] Resolves minor naming issue --- ereuse_devicehub/resources/deliverynote/schemas.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ereuse_devicehub/resources/deliverynote/schemas.py b/ereuse_devicehub/resources/deliverynote/schemas.py index 0a6cf4ca..3028c30f 100644 --- a/ereuse_devicehub/resources/deliverynote/schemas.py +++ b/ereuse_devicehub/resources/deliverynote/schemas.py @@ -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)