mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: include complete stage name in command
This commit is contained in:
1 parent
8f22babe7d
commit
aec0cf84ad
6 files changed
+27
-7
No files matched your search
@@ -41,6 +41,11 @@ export async function newCommand(req, res) {
|
||||
|
||||
const response = await commandHandler.run()
|
||||
|
||||
if (response) {
|
||||
c.stage = response.stage
|
||||
await c.save()
|
||||
}
|
||||
|
||||
res.status(201).json(response)
|
||||
await session.save()
|
||||
}
|
||||
Reference in new issue
Block a user