(20260216) Attendance mark is blazing fast now
This commit is contained in:
+14
-11
@@ -96,17 +96,20 @@ from icecream import IceCreamDebugger
|
|||||||
class AsyncTheCAOffice:
|
class AsyncTheCAOffice:
|
||||||
|
|
||||||
# URLs:
|
# URLs:
|
||||||
LOGIN_URL = r"https://api.thecaoffice.com/ca/login"
|
BASE_URL = r"https://api.thecaoffice.com"
|
||||||
LOGOUT_URL = r"https://api.thecaoffice.com/user/logout"
|
LOCALHOST_URL = r"http://127.0.0.1:5205"
|
||||||
BRANCH_LIST_URL = r"https://api.thecaoffice.com/commons/branch/list"
|
# ---
|
||||||
BRANCH_ADD_URL = r"https://api.thecaoffice.com/commons/branch/add"
|
LOGIN_URL = f"{BASE_URL}/ca/login"
|
||||||
DEPT_LIST_URL = r"https://api.thecaoffice.com/commons/departments/list"
|
LOGOUT_URL = f"{BASE_URL}/user/logout"
|
||||||
DEPT_ADD_URL = r"https://api.thecaoffice.com/commons/departments/add"
|
BRANCH_LIST_URL = f"{BASE_URL}/commons/branch/list"
|
||||||
TEAM_LIST_URL = r"https://api.thecaoffice.com/team/list"
|
BRANCH_ADD_URL = f"{BASE_URL}/commons/branch/add"
|
||||||
TEAM_ADD_URL = r"https://api.thecaoffice.com/team/add"
|
DEPT_LIST_URL = f"{BASE_URL}/commons/departments/list"
|
||||||
TEAM_UPDATE_URL = r"https://api.thecaoffice.com/team/update"
|
DEPT_ADD_URL = f"{BASE_URL}/commons/departments/add"
|
||||||
ATTENDANCE_LIST_URL = r"https://api.thecaoffice.com/user/attendance/register"
|
TEAM_LIST_URL = f"{BASE_URL}/team/list"
|
||||||
ATTENDANCE_MARK_URL = r"https://api.thecaoffice.com/user/attendance/mark"
|
TEAM_ADD_URL = f"{BASE_URL}/team/add"
|
||||||
|
TEAM_UPDATE_URL = f"{BASE_URL}/team/update"
|
||||||
|
ATTENDANCE_LIST_URL = f"{BASE_URL}/user/attendance/register"
|
||||||
|
ATTENDANCE_MARK_URL = f"{BASE_URL}/user/attendance/mark"
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user