From dac0f2925592257cc6e42006e4d98fbd733fbc00 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Fri, 28 Aug 2020 21:04:55 +0800 Subject: [PATCH] allow adding gid options when create new task via command api --- src/scripts/config/aria2Options.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scripts/config/aria2Options.js b/src/scripts/config/aria2Options.js index 19cf2c7..415b099 100644 --- a/src/scripts/config/aria2Options.js +++ b/src/scripts/config/aria2Options.js @@ -17,6 +17,11 @@ // [max: 0,] //SUPPORT 'integer', 'float' // [pattern: ''] // } + 'gid': { + type: 'string', + readonly: true, + required: true + }, 'dir': { type: 'string', required: true