From 5c013dd38f1b65521175313280d5df19069eb7cc Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 5 Oct 2022 15:06:08 +0200 Subject: [PATCH] boardType fixed --- pyrmv/raw/board_arrival.py | 2 +- pyrmv/raw/board_departure.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrmv/raw/board_arrival.py b/pyrmv/raw/board_arrival.py index bf5840c..c27cf56 100644 --- a/pyrmv/raw/board_arrival.py +++ b/pyrmv/raw/board_arrival.py @@ -86,7 +86,7 @@ def board_arrival(accessId: str, payload[str(var)] = val elif str(var) == "boardType": if val != None: - payload["type"] = val + payload["type"] = val.upper() elif str(var) not in ["json", "headers", "payload"]: if val != None: payload[str(var)] = val diff --git a/pyrmv/raw/board_departure.py b/pyrmv/raw/board_departure.py index 38cc901..bfa25e7 100644 --- a/pyrmv/raw/board_departure.py +++ b/pyrmv/raw/board_departure.py @@ -87,7 +87,7 @@ def board_departure(accessId: str, payload[str(var)] = val elif str(var) == "boardType": if val != None: - payload["type"] = val + payload["type"] = val.upper() elif str(var) not in ["json", "headers", "payload"]: if val != None: payload[str(var)] = val