Clean-up a warning since express is defined to be greater than v4.16.0 by the package.json definition. (#437)

This commit is contained in:
Antonio Robson de Paula 2021-06-11 19:09:06 -03:00 committed by GitHub
parent 055c76484a
commit 43e6e3642f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -4,11 +4,10 @@
// ------------------------------------------------------------
const express = require('express');
const bodyParser = require('body-parser');
require('isomorphic-fetch');
const app = express();
app.use(bodyParser.json());
app.use(express.json());
const daprPort = process.env.DAPR_HTTP_PORT || 3500;
const stateStoreName = `statestore`;