mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: add get ip endpoint
* rename handler * change rate limit
This commit is contained in:
1 parent
3b9ea9ea50
commit
b9a79eb435
6 files changed
+22
-4
No files matched your search
@@ -86,7 +86,7 @@ export async function deleteSessionById(req, res) {
|
||||
}
|
||||
}
|
||||
|
||||
export async function getActiveSession(req, res) {
|
||||
export async function getOrCreateSession(req, res) {
|
||||
const { quest_id } = req.body
|
||||
try {
|
||||
const session = await getOrCreateActiveSession(req.user, quest_id)
|
||||
|
||||
Reference in new issue
Block a user