mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Parse out nodeType (#13474)
This commit is contained in:
@@ -18,7 +18,9 @@ export const getSchemaPreview = async (
|
||||
): Promise<JSONSchema7> => {
|
||||
const { nodeType, version, resource, operation } = options;
|
||||
const versionString = padVersion(version);
|
||||
const path = ['schemas', nodeType, versionString, resource, operation].filter(Boolean).join('/');
|
||||
const path = ['schemas', nodeType.replace('@n8n/', ''), versionString, resource, operation]
|
||||
.filter(Boolean)
|
||||
.join('/');
|
||||
return await request({
|
||||
method: 'GET',
|
||||
baseURL: baseUrl,
|
||||
|
||||
Reference in New Issue
Block a user