lanna_lalala;- commited on
Commit
95ec11d
·
1 Parent(s): e378f37

trying to fix prefix

Browse files
Files changed (1) hide show
  1. utils/api.py +2 -2
utils/api.py CHANGED
@@ -359,8 +359,8 @@ def signup_student(name: str, email: str, password: str, level_label: str, count
359
  "name": name,
360
  "email": email,
361
  "password": password,
362
- "level": level_label, # match your backend param names
363
- "country": country_label,
364
  }
365
  try:
366
  url = f"{BACKEND}/auth/signup/student"
 
359
  "name": name,
360
  "email": email,
361
  "password": password,
362
+ "level_label": level_label, # match your backend param names
363
+ "country_label": country_label,
364
  }
365
  try:
366
  url = f"{BACKEND}/auth/signup/student"