turbowrap-issue-widget 1.0.2 → 1.0.3
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/dist/issue-widget.es.js
CHANGED
|
@@ -14,7 +14,7 @@ class Un {
|
|
|
14
14
|
n.append("screenshots", i, `screenshot-${B}-${Date.now()}.png`);
|
|
15
15
|
}), A.figmaLink && n.append("figma_link", A.figmaLink), A.websiteLink && n.append("website_link", A.websiteLink), A.selectedElement && n.append("selected_element", JSON.stringify(A.selectedElement));
|
|
16
16
|
try {
|
|
17
|
-
const i = await fetch(`${this.baseUrl}/linear/create/analyze`, {
|
|
17
|
+
const i = await fetch(`${this.baseUrl}/api/linear/create/analyze`, {
|
|
18
18
|
method: "POST",
|
|
19
19
|
headers: {
|
|
20
20
|
"X-Widget-Key": this.apiKey
|
|
@@ -36,7 +36,7 @@ class Un {
|
|
|
36
36
|
}
|
|
37
37
|
async finalizeIssue(A, t, r, s) {
|
|
38
38
|
try {
|
|
39
|
-
const n = await fetch(`${this.baseUrl}/linear/create/finalize`, {
|
|
39
|
+
const n = await fetch(`${this.baseUrl}/api/linear/create/finalize`, {
|
|
40
40
|
method: "POST",
|
|
41
41
|
headers: {
|
|
42
42
|
"Content-Type": "application/json",
|