Authored by htoooth

fix needlogin

@@ -25,7 +25,7 @@ const request = async({url, method, reqParams = {}, context}) => { @@ -25,7 +25,7 @@ const request = async({url, method, reqParams = {}, context}) => {
25 }, 25 },
26 sessionKey: user.sessionKey, 26 sessionKey: user.sessionKey,
27 appSessionType: user.appSessionType 27 appSessionType: user.appSessionType
28 - } : null, 28 + } : 1,
29 method: apiInfo.api, 29 method: apiInfo.api,
30 }); 30 });
31 } 31 }
@@ -25,7 +25,7 @@ module.exports = async(req, res, next) => { @@ -25,7 +25,7 @@ module.exports = async(req, res, next) => {
25 }, 25 },
26 sessionKey: req.user.sessionKey, 26 sessionKey: req.user.sessionKey,
27 appSessionType: req.user.appSessionType 27 appSessionType: req.user.appSessionType
28 - } : null, 28 + } : 1,
29 method: apiInfo.api 29 method: apiInfo.api
30 }; 30 };
31 } 31 }