diff --git a/web/schemas.js b/web/schemas.js index 87282349..834b689f 100644 --- a/web/schemas.js +++ b/web/schemas.js @@ -1,9 +1,9 @@ import menu_ from './templates/menu.json'; export const menu = menu_; -export const getSchema = async (schema) => { - return (await import(`./templates/${schema}/schema.json`)).default; +export const getSchema = async (schema_folder) => { + return (await import(`./templates/${schema_folder}/schema.json`)).default; }; -export const getExportFormats = async (schema) => { - return (await import(`./templates/${schema}/export.js`)).default; +export const getExportFormats = async (schema_folder) => { + return (await import(`./templates/${schema_folder}/export.js`)).default; };