mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
clean: remove unused code
This commit is contained in:
1 parent
129d2ff49b
commit
d450613816
19 files changed
-282
No files matched your search
@@ -42,7 +42,6 @@ export const sessionRouter = router({
|
||||
.mutation(async (opts) => {
|
||||
const { questId } = opts.input
|
||||
const { user } = opts.ctx
|
||||
console.log('createSession', user, questId)
|
||||
if ((await isQuestUnlocked(user.id, questId)) || config.testing.enabled) {
|
||||
const session = await createNewSession(user.id, questId)
|
||||
return sessionDetail(session)
|
||||
|
||||
Reference in new issue
Block a user