Skip to content

Commit 9c68bcd

Browse files
committed
chore: debug
1 parent c13a1af commit 9c68bcd

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/upload.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ export async function upload({
121121
formData.append('workflow', process.env.GITHUB_WORKFLOW)
122122
}
123123

124+
console.log(`${baseUrl}/v1/specifications`)
125+
124126
const response = await fetch(`${baseUrl}/v1/specifications`, {
125127
body: formData,
126128
headers: {
@@ -129,6 +131,8 @@ export async function upload({
129131
method: 'POST'
130132
})
131133

134+
console.log(response.status)
135+
132136
if (response.status >= 300) {
133137
const error = await response.json()
134138
throw new Error(JSON.stringify(error))

0 commit comments

Comments
 (0)