Respect SPV related config in alias declarations
This commit is contained in:
1 parent
e516d5338c
commit
c2c24f5c24
1 file changed
+19
-1
+19
-1
@@ -2305,9 +2305,27 @@ export async function rpcResponse(
|
|||||||
if (!parameterList.length) {
|
if (!parameterList.length) {
|
||||||
sessionContext.rpcRequest = null;
|
sessionContext.rpcRequest = null;
|
||||||
} else {
|
} else {
|
||||||
|
const DATETIME_MILLISECONDS = !!localCache.getConfig(
|
||||||
|
sessionContext.cacheSnapshot,
|
||||||
|
"cwmp.datetimeMilliseconds",
|
||||||
|
{},
|
||||||
|
sessionContext.timestamp,
|
||||||
|
e => configContextCallback(sessionContext, e)
|
||||||
|
);
|
||||||
|
|
||||||
|
const BOOLEAN_LITERAL = !!localCache.getConfig(
|
||||||
|
sessionContext.cacheSnapshot,
|
||||||
|
"cwmp.booleanLiteral",
|
||||||
|
{},
|
||||||
|
sessionContext.timestamp,
|
||||||
|
e => configContextCallback(sessionContext, e)
|
||||||
|
);
|
||||||
|
|
||||||
const r: SetAcsRequest = {
|
const r: SetAcsRequest = {
|
||||||
name: "SetParameterValues",
|
name: "SetParameterValues",
|
||||||
parameterList: parameterList
|
parameterList: parameterList,
|
||||||
|
DATETIME_MILLISECONDS: DATETIME_MILLISECONDS,
|
||||||
|
BOOLEAN_LITERAL: BOOLEAN_LITERAL
|
||||||
};
|
};
|
||||||
sessionContext.rpcRequest = r;
|
sessionContext.rpcRequest = r;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user