Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman authored Oct 23, 2023
1 parent 1bd4c40 commit 1a85c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ yarn add react-native-openai
```js
import OpenAI from 'react-native-openai';

const openAI = OpenAI({
const openAI = new OpenAI({
apiKey: 'YOUR_API_KEY',
organization: 'YOUR_ORGANIZATION',
// host: 'my-custom-host.com', // Optional: add a custom domain
Expand Down

0 comments on commit 1a85c51

Please sign in to comment.