mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -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 {
|
||||
responseData = await humanticAiApiRequest.call(this, 'GET', `/user-profile/create`, {}, qs);
|
||||
}
|
||||
|
||||
if (responseData.data !== undefined) {
|
||||
responseData = responseData.data;
|
||||
} else {
|
||||
delete responseData.usage_stats;
|
||||
}
|
||||
}
|
||||
if (operation === 'get') {
|
||||
|
|
Loading…
Reference in a new issue