Nattyboi commited on
Commit
8d89524
·
1 Parent(s): bcabe61

updated get levels

Browse files
Files changed (1) hide show
  1. gamification/routes.py +1 -1
gamification/routes.py CHANGED
@@ -111,7 +111,7 @@ def get_level_details_and_information()->List[UserLevel]:
111
  levels= get_all_levels_func(admin=True)
112
  return levels
113
 
114
- @gamification.get("/get-level/{careerPath}",tags=["user"])
115
  def get_level_details_and_information(careerPath:str)->List[UserLevel]:
116
  levels= get_all_levels_func(career=careerPath)
117
  return levels
 
111
  levels= get_all_levels_func(admin=True)
112
  return levels
113
 
114
+ @gamification.get("/get-levels/{careerPath}",tags=["user"])
115
  def get_level_details_and_information(careerPath:str)->List[UserLevel]:
116
  levels= get_all_levels_func(career=careerPath)
117
  return levels