From e9f02337478c05e81e841e2dcafb1d852278d626 Mon Sep 17 00:00:00 2001
From: Evans Ochieng <eo00684@surrey.ac.uk>
Date: Mon, 17 Apr 2023 14:34:59 +0100
Subject: [PATCH] bugfix: modified url

---
 frontend/application/frontend/api/UserClient.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/application/frontend/api/UserClient.py b/frontend/application/frontend/api/UserClient.py
index f6a3249..09bfd18 100644
--- a/frontend/application/frontend/api/UserClient.py
+++ b/frontend/application/frontend/api/UserClient.py
@@ -21,7 +21,7 @@ class UserClient:
 		
 	@staticmethod
 	def does_exist(email):
-		url = 'http://' + UserClient.user_service + email + '/exists'
+		url = 'http://' + UserClient.user_service + '/' + email + '/exists'
 		response = requests.request("GET", url=url)
 		return response.status_code == 200
 
-- 
GitLab