Skip to content

Commit

Permalink
cosmetic variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ddooley committed Jan 18, 2025
1 parent 136ffee commit 0fc6edc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/schemas.js
Original file line number Diff line number Diff line change
@@ -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;
};

0 comments on commit 0fc6edc

Please sign in to comment.