From c2738b63bb8a667ced376ef993186c144a991242 Mon Sep 17 00:00:00 2001 From: chenruilong Date: Fri, 24 Feb 2023 18:23:18 +0800 Subject: [PATCH] fix(uni-id-co): error message value field --- .../cloudfunctions/uni-id-co/middleware/verify-request-sign.js | 2 +- .../uni-id-co/module/external/update-user-info.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 3f5feed..1565f22 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 e966069..a91fe9f 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' } } -- GitLab