mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: duplicate response
This commit is contained in:
1 parent
57c080d88b
commit
ed596c245d
3 files changed
+8
-6
No files matched your search
@@ -49,8 +49,6 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
|
||||
c.stage = response.stage
|
||||
await c.save()
|
||||
|
||||
session.responses.push(response.responses)
|
||||
|
||||
if ((session.status as string) === 'finished') {
|
||||
await finishSession(session)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user