mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: send status to the frontend
This commit is contained in:
1 parent
622d64dd45
commit
039da53bbe
5 files changed
+8
-46
No files matched your search
@@ -79,6 +79,12 @@ export default class SessionHandler {
|
||||
|
||||
this.addNewTasks()
|
||||
|
||||
this.session.responses.push(stage.responses)
|
||||
|
||||
if (stage.id === 'END') {
|
||||
this.session.status = 'finished'
|
||||
}
|
||||
|
||||
return {
|
||||
responses: stage.responses,
|
||||
hints: stage.hints,
|
||||
|
||||
Reference in new issue
Block a user