add this.req check for querystring()
This commit is contained in:
parent
391650518f
commit
8804b7ba6f
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
get querystring() {
|
get querystring() {
|
||||||
|
if (!this.req) return '';
|
||||||
return parse(this.req).query || '';
|
return parse(this.req).query || '';
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue