Skip to content
Snippets Groups Projects
Verified Commit 7293ecb1 authored by TheJoeCoder's avatar TheJoeCoder
Browse files

[Frontend] New session logic partially done

parent e7acd650
No related branches found
No related tags found
No related merge requests found
...@@ -84,8 +84,12 @@ def connect(*args): ...@@ -84,8 +84,12 @@ def connect(*args):
# Create new session # Create new session
def new_session(*arg): def new_session(*arg):
res = requests.post(get_endpoint("/cart/new"))
if (res.status_code == 200):
# TODO parse response
pass pass
else:
connect_fail()
# Refresh order screen items # Refresh order screen items
def refresh_items(*args): def refresh_items(*args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment