clean: remove unused code

This commit is contained in:
Justin Lin committed 2025-04-26 12:48:29 +08:00
1 parent 129d2ff49b
commit d450613816
19 files changed
-282

No files matched your search

@@ -10,8 +10,6 @@ import { CLIFileExistenceChecker } from '../../containers/cli'
export const newCommand = asyncHandler(async (req: Request, res: Response) => {
const command = commandSchema.parse(req.body)
console.log('command', command)
const { sessionId } = req.user as any
const session = await Session.findById(sessionId)
if (!session) {
@@ -43,7 +41,6 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
)
const event = await gameSession.runCommand(command)
console.log('event', event)
const c = new Command({
...command,