diff options
Diffstat (limited to 'api/scripts/generate_schema.js')
-rw-r--r-- | api/scripts/generate_schema.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/api/scripts/generate_schema.js b/api/scripts/generate_schema.js index 7a498ad6..1badfd32 100644 --- a/api/scripts/generate_schema.js +++ b/api/scripts/generate_schema.js @@ -48,9 +48,8 @@ function modify(obj) { } function main() { - const files = [ - ...walk(path.join(__dirname, "..", "src", "routes")), - ...walk(path.join(__dirname, "..", "..", "util", "src")), + const files = [ + ...walk(path.join(__dirname, "..", "..", "util", "src", "schemas")), ]; const program = TJS.getProgramFromFiles( files, |