diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-26 11:34:06 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-26 11:34:06 +0200 |
commit | 81923a0729eedf61933844f8aad4da0be3442c50 (patch) | |
tree | 7ed506db7ff5053ba5dcdd0802ceb5242b25b685 /api/scripts | |
parent | :bug: fix role can't set permission (diff) | |
download | server-81923a0729eedf61933844f8aad4da0be3442c50.tar.xz |
:bug: fix channel permission overwrites
Diffstat (limited to 'api/scripts')
-rw-r--r-- | api/scripts/generate_schema.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api/scripts/generate_schema.js b/api/scripts/generate_schema.js index 22d0b02e..fc787c22 100644 --- a/api/scripts/generate_schema.js +++ b/api/scripts/generate_schema.js @@ -1,9 +1,9 @@ // https://mermade.github.io/openapi-gui/# // https://editor.swagger.io/ -import path from "path"; -import fs from "fs"; -import * as TJS from "typescript-json-schema"; -import "missing-native-js-functions"; +const path = require("path"); +const fs = require("fs"); +const TJS = require("typescript-json-schema"); +require("missing-native-js-functions"); const schemaPath = path.join(__dirname, "..", "assets", "schemas.json"); const settings = { |