mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复无法更新脚本内容为空
This commit is contained in:
parent
559defc8d6
commit
b009d3e3fd
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user