diff --git a/src/api/server.ts b/src/api/server.ts index e94a7797f2..75f9943ee7 100644 --- a/src/api/server.ts +++ b/src/api/server.ts @@ -18,6 +18,7 @@ const app = express(); app.disable('x-powered-by'); app.set('etag', false); app.use(bodyParser.urlencoded({ extended: true })); +app.use(bodyParser.json()); app.use(cors({ origin: true }));