diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/verify-request-sign.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/verify-request-sign.js index 3f5feed960252d8015dbf6060553691a1257a877..1565f225acdb893d177feb1fc4ad312fa29b9cab 100644 --- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/verify-request-sign.js +++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/verify-request-sign.js @@ -23,7 +23,7 @@ module.exports = function () { if (!this.config.requestAuthSecret || typeof this.config.requestAuthSecret !== 'string') { throw { errCode: ERROR.CONFIG_FIELD_REQUIRED, - errMsgVal: { + errMsgValue: { field: 'requestAuthSecret' } } diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/external/update-user-info.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/external/update-user-info.js index e96606927510866fee46cae7353065cc919910f4..a91fe9f46f56228dda2e75f473a85d93ee4449d6 100644 --- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/external/update-user-info.js +++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/external/update-user-info.js @@ -92,7 +92,7 @@ module.exports = async function (params = {}) { if (!uid && !externalUid) { throw { errCode: ERROR.PARAM_REQUIRED, - errMsgVal: { + errMsgValue: { param: 'uid or externalUid' } }