mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(OpenAI Node): Add quotes to default base URL (#12312)
This commit is contained in:
parent
441d71e35d
commit
22ba3d21fc
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue