add this.req check for querystring()

master
AlexeyKhristov 2015-06-17 12:27:02 +03:00 committed by Jonathan Ong
parent 391650518f
commit 8804b7ba6f
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ module.exports = {
*/
get querystring() {
if (!this.req) return '';
return parse(this.req).query || '';
},