Skip to content

Commit

Permalink
fix(OpenAI Node): Add quotes to default base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpaul committed Dec 19, 2024
1 parent 01b781a commit 37d6cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/OpenAi/OpenAi.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class OpenAi implements INodeType {
requestDefaults: {
ignoreHttpStatusErrors: true,
baseURL:
'={{ $credentials.url?.split("/").slice(0,-1).join("/") || https://api.openai.com }}',
'={{ $credentials.url?.split("/").slice(0,-1).join("/") ?? "https://api.openai.com" }}',
},
properties: [
oldVersionNotice,
Expand Down

0 comments on commit 37d6cfc

Please sign in to comment.