diff --git a/.gitpod/init_actor.py b/.gitpod/init_actor.py index e1e64e4af..7dde3945e 100644 --- a/.gitpod/init_actor.py +++ b/.gitpod/init_actor.py @@ -11,9 +11,11 @@ res = req.post('http://localhost:8000/api/v1/users/login', data={ 'username': 'gitpod', 'password': 'gitpod', 'csrfmiddlewaretoken': token, - 'next': '/api/v1/libraries/?scope=me' }) print(res.status_code, res.content) +res = req.get('http://localhost:8000/') +print(res.status_code) + if res.status_code == 401: exit(1) \ No newline at end of file