@docupace/pipeline 1.0.39-newrelease.15 → 1.0.39-newrelease.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.39-newrelease.15",
3
+ "version": "1.0.39-newrelease.16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -52,6 +52,17 @@ export async function uploadToCanny(releaseNote, labelIDs) {
52
52
  entryType = 'fixed';
53
53
  }
54
54
 
55
+ const body = JSON.stringify({
56
+ apiKey: CANNY_API_KEY,
57
+ title: title,
58
+ details: content,
59
+ type: entryType,
60
+ published: false, // Keep as draft initially
61
+ labelIDs,
62
+ });
63
+
64
+ console.log("POSTING: ", body)
65
+
55
66
  // Create a new changelog entry in Canny
56
67
  const createResponse = await fetch(
57
68
  'https://canny.io/api/v1/entries/create',
@@ -60,14 +71,7 @@ export async function uploadToCanny(releaseNote, labelIDs) {
60
71
  headers: {
61
72
  'Content-Type': 'application/json',
62
73
  },
63
- body: JSON.stringify({
64
- apiKey: CANNY_API_KEY,
65
- title: title,
66
- details: content,
67
- type: entryType,
68
- published: false, // Keep as draft initially
69
- labelIDs,
70
- }),
74
+ body,
71
75
  },
72
76
  );
73
77