diff --git a/frontend/scripts/generate_schema.js b/frontend/scripts/generate_schema.js index f94addd..011fcc5 100644 --- a/frontend/scripts/generate_schema.js +++ b/frontend/scripts/generate_schema.js @@ -15,7 +15,7 @@ const output_path = path.resolve(__dirname, '../src/lib/types/schema.d.ts'); const command = `openapi-typescript ${api_url}/api/v1/schema/ -o ${output_path}`; -exec(command, (error, stdout, _) => { +exec(command, (error, stdout) => { if (error) { console.log(`error: ${error}`); return;