From e736b39970b6ef5864b0643226af306a73570c52 Mon Sep 17 00:00:00 2001 From: linyimin Date: Sat, 20 Apr 2019 11:23:53 +0800 Subject: [PATCH] fix comment error (#1749) --- src/user/contact-self.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/contact-self.ts b/src/user/contact-self.ts index 599b33ce..423396e3 100644 --- a/src/user/contact-self.ts +++ b/src/user/contact-self.ts @@ -130,7 +130,7 @@ export class ContactSelf extends Contact { * console.log(`user ${user} login`) * const oldName = user.name() * try { - * await user.setName(`${oldName}-${new Date().getTime()}`) + * await user.name(`${oldName}-${new Date().getTime()}`) * } catch (e) { * console.error('change name failed', e) * } -- GitLab