chore: use this.res.socket insteadof this.ctx.req.socket (#1177)
prefer a shorter path to the objectmaster
parent
45903f228a
commit
148f26f630
|
@ -33,7 +33,7 @@ module.exports = {
|
|||
*/
|
||||
|
||||
get socket() {
|
||||
return this.ctx.req.socket;
|
||||
return this.res.socket;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue