Commit da05127f authored by Oliver Clarke's avatar Oliver Clarke

Fixed readme example p -> P

parent e412ddcf
...@@ -13,7 +13,7 @@ Today, OpenAI added additional Cloudflare protections that make it more difficul ...@@ -13,7 +13,7 @@ Today, OpenAI added additional Cloudflare protections that make it more difficul
4. Use both tokens when creating the API wrapper: 4. Use both tokens when creating the API wrapper:
```ts ```ts
const api = new ChatGPTApI({ const api = new ChatGPTAPI({
sessionToken: process.env.SESSION_TOKEN, sessionToken: process.env.SESSION_TOKEN,
clearanceToken: process.env.CLEARANCE_TOKEN, clearanceToken: process.env.CLEARANCE_TOKEN,
userAgent: '' // replace to match your real browser's user agent userAgent: '' // replace to match your real browser's user agent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment