Skip to content

Commit

Permalink
fix comment error (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
linyimin authored and huan committed Apr 20, 2019
1 parent 1f6ead3 commit e736b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/contact-self.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
* }
Expand Down

0 comments on commit e736b39

Please sign in to comment.