diff --git a/routes/preferences.js b/routes/preferences.js index 0a780e1..a6e67f2 100644 --- a/routes/preferences.js +++ b/routes/preferences.js @@ -204,7 +204,7 @@ preferenceRoutes.post('/import_prefs', (req, res, next) => { body = body.toString(); try { let json = body - .split('Content-Type: preferenceRouteslication/json')[1] + .split('Content-Type: application/json')[1] .trim() .split('--')[0]; let prefs = JSON.parse(json);