mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Spotify Node): Fix issue with null values breaking the response (#12080)
This commit is contained in:
@@ -1308,6 +1308,10 @@ export class Spotify implements INodeType {
|
||||
);
|
||||
}
|
||||
|
||||
// Remove null values from the response
|
||||
if (operation === 'getUserPlaylists') {
|
||||
responseData = responseData.filter((item: IDataObject) => item !== null);
|
||||
}
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData: { item: i } },
|
||||
|
||||
Reference in New Issue
Block a user