From 234e1d344e68e6fef1decd584d6b1b37ebd953bb Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 18 Jun 2018 11:56:42 -0400 Subject: [PATCH] Hardcode user_id until we have a working self.current_user --- atst/handlers/request_new.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atst/handlers/request_new.py b/atst/handlers/request_new.py index 8d0f0e6b..3671af91 100644 --- a/atst/handlers/request_new.py +++ b/atst/handlers/request_new.py @@ -76,8 +76,9 @@ class RequestNew(BaseHandler): @tornado.gen.coroutine def create_or_update_request(self, form_data): + # TODO: Check session for existing form, and send a PATCH instead if it exists. request_data = { - 'creator_id': self.current_user, + 'creator_id': '9cb348f0-8102-4962-88c4-dac8180c904c', 'request': form_data } response = yield self.requests_client.post('/requests', json=request_data)