@blickwerk/n8n-nodes-microsoft-planner 1.3.6 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -182,6 +182,12 @@ Tested with n8n version 1.0.0 and above.
|
|
|
182
182
|
|
|
183
183
|
## Version History
|
|
184
184
|
|
|
185
|
+
### 1.3.7
|
|
186
|
+
- **Fixed Update Task response handling**
|
|
187
|
+
- Fetch complete updated task data after PATCH operation
|
|
188
|
+
- Always returns full task object with all current values
|
|
189
|
+
- Fixes empty array and undefined description issues
|
|
190
|
+
|
|
185
191
|
### 1.3.6
|
|
186
192
|
- **Improved Update Task response**
|
|
187
193
|
- Update Task now returns complete task data including description
|
|
@@ -283,10 +283,9 @@ class MicrosoftPlanner {
|
|
|
283
283
|
console.warn('No valid user IDs found for assignment. Check if User.Read.All permission is granted.');
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
let responseData = currentTask;
|
|
287
286
|
// Only send PATCH request if there are fields to update (excluding description)
|
|
288
287
|
if (Object.keys(body).length > 0) {
|
|
289
|
-
|
|
288
|
+
await GenericFunctions_1.microsoftApiRequest.call(this, 'PATCH', `/planner/tasks/${taskId}`, body, {}, undefined, {
|
|
290
289
|
'If-Match': eTag,
|
|
291
290
|
});
|
|
292
291
|
}
|
|
@@ -299,9 +298,9 @@ class MicrosoftPlanner {
|
|
|
299
298
|
}, {}, undefined, {
|
|
300
299
|
'If-Match': detailsETag,
|
|
301
300
|
});
|
|
302
|
-
// Add description to response data
|
|
303
|
-
responseData.description = updateFields.description;
|
|
304
301
|
}
|
|
302
|
+
// Fetch updated task to return complete data
|
|
303
|
+
const responseData = await GenericFunctions_1.microsoftApiRequest.call(this, 'GET', `/planner/tasks/${taskId}`);
|
|
305
304
|
returnData.push(responseData);
|
|
306
305
|
}
|
|
307
306
|
// ----------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blickwerk/n8n-nodes-microsoft-planner",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "n8n node for Microsoft Planner - Create and retrieve tasks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"homepage": "https://github.com/blickwerk/n8n-nodes-microsoft-planner",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Blickwerk Media UG",
|
|
16
|
-
"email": "info@blickwerk
|
|
16
|
+
"email": "info@blickwerk.media"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|