mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 18:40:37 +08:00
修复无法更新脚本内容为空
This commit is contained in:
1 parent
559defc8d6
commit
b009d3e3fd
1 file changed
+1
-1
+1
-1
@@ -133,7 +133,7 @@ export default (app: Router) => {
|
||||
body: Joi.object({
|
||||
filename: Joi.string().required(),
|
||||
path: Joi.string().optional().allow(''),
|
||||
content: Joi.string().required(),
|
||||
content: Joi.string().required().allow(''),
|
||||
}),
|
||||
}),
|
||||
async (req: Request, res: Response, next: NextFunction) => {
|
||||
|
||||
Reference in new issue
Block a user