Skip to content

Commit

Permalink
Fix example code in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed Jun 4, 2024
1 parent fbe1135 commit 4bb74a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Updates information of an entry.
import ballerina/ldap;
public function main() returns error? {
ldap:UserConfig user = {
anydata user = {
sn: "User",
givenName: "Updated User",
displayName: "Updated User"
Expand All @@ -35,6 +35,6 @@ Gets information of an entry
import ballerina/ldap;
public function main() returns error? {
ldap:UserConfig value = check ldapClient->getEntry(userDN);
anydata value = check ldapClient->getEntry(userDN);
}
```
4 changes: 2 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Updates information of an entry.
import ballerina/ldap;
public function main() returns error? {
ldap:UserConfig user = {
anydata user = {
sn: "User",
givenName: "Updated User",
displayName: "Updated User"
Expand All @@ -34,6 +34,6 @@ Gets information of an entry
import ballerina/ldap;
public function main() returns error? {
ldap:UserConfig value = check ldapClient->getEntry(userDN);
anydata value = check ldapClient->getEntry(userDN);
}
```

0 comments on commit 4bb74a8

Please sign in to comment.