[chore] added prettier
This commit is contained in:
@@ -5,7 +5,7 @@ export default function methodOverride(_options) {
|
||||
if (ctx.method === 'POST') {
|
||||
ctx.body = ctx.request.body;
|
||||
} else if (ctx.method === 'GET') {
|
||||
ctx.method= 'POST'; // eslint-disable-line
|
||||
ctx.method = 'POST'; // eslint-disable-line
|
||||
ctx.body = queryString.parse(ctx.querystring);
|
||||
}
|
||||
return next();
|
||||
|
||||
Reference in New Issue
Block a user