Skip to content

Commit a504011

Browse files
author
Vikas Agarwal
committed
Fixed lint errors
1 parent 0131191 commit a504011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import express from 'express';
2-
import methodOverride from 'method-override'
2+
import methodOverride from 'method-override';
33
import _ from 'lodash';
44
import bodyParser from 'body-parser';
55
import config from 'config';
@@ -15,7 +15,7 @@ const app = express();
1515
// allows overriding HTTP Method
1616
// both arguments to the methodOverride are optional because they are the default
1717
// values, but we are specifying them to avoid any future change in defaults
18-
app.use(methodOverride('X-HTTP-Method-Override', {methods : ['POST'] }))
18+
app.use(methodOverride('X-HTTP-Method-Override', { methods: ['POST'] }));
1919

2020
// =======================
2121
// configuration =========

0 commit comments

Comments
 (0)