From 8e5a80def39464536b0e1a44078b7c287f26de7c Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Fri, 26 Apr 2024 11:04:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E7=BB=91=E5=AE=9A=E4=BA=86=E6=89=8B=E6=9C=BA=E5=8F=B7=E7=A0=81?= =?UTF-8?q?=E5=8D=B4=E4=B8=8D=E8=83=BD=E5=8F=91=E7=A7=81=E4=BF=A1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uniCloud/cloudfunctions/uni-im-co/msg.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uniCloud/cloudfunctions/uni-im-co/msg.js b/uniCloud/cloudfunctions/uni-im-co/msg.js index 7362ae9..31ac999 100644 --- a/uniCloud/cloudfunctions/uni-im-co/msg.js +++ b/uniCloud/cloudfunctions/uni-im-co/msg.js @@ -411,9 +411,7 @@ async function _createOrUpdateConversation(conversation_id, msgData, chat_source let getUserInfoRes = await db.collection('uni-id-users') .doc(this.current_uid) .field({ - email:1, - nickname:1, - role:1 + mobile_confirmed:1 }) .get() if(!getUserInfoRes.data[0].mobile_confirmed){ -- GitLab