remsim-apitool: Fix slotmap-create (integer needed, not string!)
Change-Id: If3237de7cf08be49645dfac2e3f7173d43a47e53
This commit is contained in:
parent
a008e62523
commit
fc0fff1880
|
@ -45,8 +45,8 @@ def rest_delete(suffix):
|
|||
#rest calls
|
||||
def slotmap_create(bank_id, bank_slot, client_id, client_slot):
|
||||
js = {
|
||||
'bank': {'bankId': bank_id, 'slotNr': bank_slot},
|
||||
'client': {'clientId': client_id, 'slotNr': client_slot},
|
||||
'bank': {'bankId': int(bank_id), 'slotNr': int(bank_slot)},
|
||||
'client': {'clientId': int(client_id), 'slotNr': int(client_slot)},
|
||||
}
|
||||
return rest_post('/slotmaps', js)
|
||||
|
||||
|
|
Loading…
Reference in New Issue