boardType fixed
This commit is contained in:
parent
3a23c058c3
commit
5c013dd38f
@ -86,7 +86,7 @@ def board_arrival(accessId: str,
|
|||||||
payload[str(var)] = val
|
payload[str(var)] = val
|
||||||
elif str(var) == "boardType":
|
elif str(var) == "boardType":
|
||||||
if val != None:
|
if val != None:
|
||||||
payload["type"] = val
|
payload["type"] = val.upper()
|
||||||
elif str(var) not in ["json", "headers", "payload"]:
|
elif str(var) not in ["json", "headers", "payload"]:
|
||||||
if val != None:
|
if val != None:
|
||||||
payload[str(var)] = val
|
payload[str(var)] = val
|
||||||
|
@ -87,7 +87,7 @@ def board_departure(accessId: str,
|
|||||||
payload[str(var)] = val
|
payload[str(var)] = val
|
||||||
elif str(var) == "boardType":
|
elif str(var) == "boardType":
|
||||||
if val != None:
|
if val != None:
|
||||||
payload["type"] = val
|
payload["type"] = val.upper()
|
||||||
elif str(var) not in ["json", "headers", "payload"]:
|
elif str(var) not in ["json", "headers", "payload"]:
|
||||||
if val != None:
|
if val != None:
|
||||||
payload[str(var)] = val
|
payload[str(var)] = val
|
||||||
|
Loading…
Reference in New Issue
Block a user