Skip to content

Commit

Permalink
refactor: refactor users.ts example
Browse files Browse the repository at this point in the history
Signed-off-by: ianmuchyri <[email protected]>
  • Loading branch information
ianmuchyri committed Apr 5, 2024
1 parent 5796f04 commit 4b0400c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const mySdk = new SDK({

mySdk.domains
.CreateDomain(
{ name: '<domainName' },
{ name: '<domainName>' },
'<token>'
)
.then((response: any) => {
Expand Down
2 changes: 1 addition & 1 deletion examples/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mySdk.users.UserProfile(
})

mySdk.users.CreateToken(
{ identity: '[email protected]', secret: '12345678' }
{ identity: '<identity>', secret: '<password>', domain_id: '<domainID>' }
)
.then((response: any) => {
console.log('response: ', response)
Expand Down

0 comments on commit 4b0400c

Please sign in to comment.