Skip to content

Commit

Permalink
fix examples in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tmountjr committed Apr 22, 2024
1 parent de3461c commit 1525fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const ec_token = new ECToken()
ec_token.addValue('ec_country_allow', 'US')
// Add additional directives in the same way.

const token = encrypt('my-secret-key', ec_token)
const plaintext = decrypt('my-secret-key', token)
const token = await encrypt('my-secret-key', ec_token)
const plaintext = await decrypt('my-secret-key', token)
```

## Contribute
Expand Down

0 comments on commit 1525fa3

Please sign in to comment.