From 3bed93e7507be0536e962eec879f4abe3a053345 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 30 Apr 2018 11:00:54 -0400 Subject: [PATCH] SpoofedNodeHttpImpl: Fix docblocks (User{Session=>Request}) Wrong object! --- src/dapi/http/SpoofedNodeHttpImpl.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dapi/http/SpoofedNodeHttpImpl.js b/src/dapi/http/SpoofedNodeHttpImpl.js index ac68812..f8d05fb 100644 --- a/src/dapi/http/SpoofedNodeHttpImpl.js +++ b/src/dapi/http/SpoofedNodeHttpImpl.js @@ -37,7 +37,7 @@ module.exports = Trait( 'SpoofedNodeHttpImpl' ) { /** * Session to spoof - * @type {UserSession} + * @type {UserRequest} */ 'private _request': null, @@ -45,11 +45,11 @@ module.exports = Trait( 'SpoofedNodeHttpImpl' ) /** * Use session for spoofing requests * - * @param {UserSession} session session to spoof + * @param {UserRequest} request session to spoof */ - __mixin( session ) + __mixin( request ) { - this._request = session; + this._request = request; },