diff --git a/app.js b/app.js index 2ef2b46..6d227e8 100644 --- a/app.js +++ b/app.js @@ -57,7 +57,7 @@ app.post('/api/classify', async (req, res, next) => { } const classifyParams = { imagesFile: imageFile, - classifier_ids: ['default'] + classifierIds: ['default'] }; try { const response = await client.classify(classifyParams); @@ -80,4 +80,4 @@ app.post('/api/classify', async (req, res, next) => { // error-handler settings for all other routes require('./config/error-handler')(app); -module.exports = app; \ No newline at end of file +module.exports = app;