Skip to content

Commit

Permalink
Update installation info in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Got17 committed Feb 17, 2025
1 parent d9e2156 commit 78e09dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This repository offers an F# [WebSharper](https://websharper.com/) binding for t
The repository consists of two main projects:

1. **Binding Project**:

- Contains the F# WebSharper binding for the Credential Management API.

2. **Sample Project**:
Expand All @@ -24,8 +25,6 @@ The repository consists of two main projects:
### Prerequisites

- [.NET SDK](https://dotnet.microsoft.com/download) installed on your machine.
- Node.js and npm (for building web assets).
- WebSharper tools.

### Steps

Expand Down Expand Up @@ -105,10 +104,10 @@ module Client =
Mediation = Mediation.Optional
)
let! credential = As<Promise<PasswordCredential>> <| credentialsContainer.Get(credentialRequestOptions)
let! credential = As<Promise<PasswordCredential>> <| credentialsContainer.Get(credentialRequestOptions)
if not (isNull credential) then
Console.Log("Retrieved credentials:", credential)
// Check if Id and Password are valid before assigning
// This ensures only valid and non-null data is used, avoiding potential runtime errors
if not (isNull credential.Id) && not (isNull credential.Password) then
Expand Down

0 comments on commit 78e09dd

Please sign in to comment.