Skip to content

Commit ab4e542

Browse files
committed
change date verification to support Zoom Contact Center APIs
1 parent b12342a commit ab4e542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basic_zoom/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ def get(
141141
date_error = False
142142

143143
if params.get("from") is not None:
144-
if params.get("from") != parsed_response.get("from"):
144+
if params.get("from") not in parsed_response.get("from"):
145145
date_error = True
146146

147147
if params.get("to") is not None:
148-
if params.get("to") != parsed_response.get("to"):
148+
if params.get("to") not in parsed_response.get("to"):
149149
date_error = True
150150

151151
if date_error:

0 commit comments

Comments
 (0)