[go: up one dir, main page]

Skip to content

Commit

Permalink
Updated enrollUser function in write_first_app Doc (#2713)
Browse files Browse the repository at this point in the history
Signed-off-by: becomingmountains <jstaffordcoyte@gmail.com>
(cherry picked from commit 73c46a1)
  • Loading branch information
becomingmountains authored and mergify[bot] committed Jul 7, 2021
1 parent a0dcb5c commit 62c68d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/write_first_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ to interact with the blockchain network. The section of the application code is
// in a real application this would be done only when a new user was required to be added
// and would be part of an administrative flow
await registerUser(caClient, wallet, userId, 'org1.department1');
await registerAndEnrollUser(caClient, wallet, mspOrg1, org1UserId, 'org1.department1');
Similar to the admin enrollment, this function uses a CSR to register and enroll ``appUser`` and
store its credentials alongside those of ``admin`` in the wallet. We now have
Expand Down

0 comments on commit 62c68d1

Please sign in to comment.