From 98ad657448861d017a06c1226b999810d36702bc Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Mon, 22 Jun 2020 21:11:36 +0800 Subject: [PATCH] Update uni-id.md --- docs/uniCloud/uni-id.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/uniCloud/uni-id.md b/docs/uniCloud/uni-id.md index c47c82618d..5eced0b26a 100644 --- a/docs/uniCloud/uni-id.md +++ b/docs/uniCloud/uni-id.md @@ -179,7 +179,7 @@ exports.main = async function(event,context) { ```js const uniID = require('uni-id') exports.main = async function(event,context) { - const payload = await uniID.updatePwd(event.uniIdToken) + const payload = await uniID.checkToken(event.uniIdToken) return payload } ``` -- GitLab