mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(OpenAI Node): Add quotes to default base URL (#12312)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user