Skip to content

Commit

Permalink
Fix mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 14, 2017
1 parent 6e2d122 commit 1800435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .roadhogrc.mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const proxy = {
$body: postRule,
},
'POST /api/forms': (req, res) => {
res.send('Ok');
res.send({ message: 'Ok' });
},
'GET /api/tags': mockjs.mock({
'list|100': [{ name: '@city', 'value|1-100': 150, 'type|0-2': 1 }]
Expand Down

0 comments on commit 1800435

Please sign in to comment.