From fa340436a748e2fa3c27e5e9716aa0c3c21b1bed Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Mon, 26 Jul 2021 22:26:48 -0500 Subject: [PATCH] Backend address line changed --- panera_shifts_gcal_backend/shifts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panera_shifts_gcal_backend/shifts.py b/panera_shifts_gcal_backend/shifts.py index 2a1e0a5..ba290e6 100644 --- a/panera_shifts_gcal_backend/shifts.py +++ b/panera_shifts_gcal_backend/shifts.py @@ -22,7 +22,7 @@ class Shift: @classmethod def from_dict(cls, _dict, cafe_info, timezone_string): - location = f"""{cafe_info["address"]["street"]}, {cafe_info["address"]["city"]}, {cafe_info["address"]["state"]} {cafe_info["address"]["zipcode"]}""" + location = f"""{cafe_info["address"]["addressLine"]}, {cafe_info["address"]["city"]}, {cafe_info["address"]["state"]} {cafe_info["address"]["zipCode"]}""" role = _dict["workstationName"] start_naive = datetime_parse(_dict["startDateTime"]) end_naive = datetime_parse(_dict["endDateTime"])