feat: Implement (most) API endpoints
This commit is contained in:
@@ -31,14 +31,9 @@ export async function performLogin(username: string, password: string, db: Db):
|
||||
username: user.username,
|
||||
uid: user.uid,
|
||||
showWelcome: user.showWelcome,
|
||||
//@ts-ignore
|
||||
score: user.score,
|
||||
classId: user.classId,
|
||||
|
||||
lastReview: user.lastReview,
|
||||
lastLevel: user.lastLevel,
|
||||
|
||||
// TODO: Implement
|
||||
score: 4,
|
||||
sessionToken,
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user