From fd54b23f607cf9fb155c41584fd4c116c75ff66c Mon Sep 17 00:00:00 2001 From: Colin Yang Date: Thu, 23 Apr 2020 10:23:47 -0700 Subject: [PATCH] append query string to the end of calendar relay url (#62) --- src/iris_relay/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iris_relay/app.py b/src/iris_relay/app.py index 2f56012..677840e 100644 --- a/src/iris_relay/app.py +++ b/src/iris_relay/app.py @@ -222,6 +222,8 @@ def on_get(self, req, resp, ical_key): """ try: path = self.base_url + '/api/v0/ical/' + ical_key + if req.query_string: + path += '?%s' % req.query_string result = self.oncall_client.get(path) except MaxRetryError as ex: logger.error(ex)