mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
🐛 Fix small bug in HumanticAI-Node
This commit is contained in:
parent
09547e9153
commit
eafbe424b9
|
@ -109,10 +109,14 @@ export class HumanticAi implements INodeType {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
responseData = responseData.data;
|
|
||||||
} else {
|
} else {
|
||||||
responseData = await humanticAiApiRequest.call(this, 'GET', `/user-profile/create`, {}, qs);
|
responseData = await humanticAiApiRequest.call(this, 'GET', `/user-profile/create`, {}, qs);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (responseData.data !== undefined) {
|
||||||
responseData = responseData.data;
|
responseData = responseData.data;
|
||||||
|
} else {
|
||||||
|
delete responseData.usage_stats;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (operation === 'get') {
|
if (operation === 'get') {
|
||||||
|
|
Loading…
Reference in a new issue