Skip to content

Commit e374424

Browse files
committed
chore: update endpoint url
1 parent e162c2b commit e374424

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function upload({
9797
}
9898

9999
formData.append(
100-
'spec',
100+
'specification',
101101
new Blob([fs.readFileSync(pathToOpenApi)]),
102102
path.basename(pathToOpenApi)
103103
)
@@ -106,7 +106,7 @@ export async function upload({
106106
formData.append('workflow', process.env.GITHUB_WORKFLOW)
107107
}
108108

109-
const response = await fetch(`${baseUrl}/v1/specs`, {
109+
const response = await fetch(`${baseUrl}/v1/specifications`, {
110110
body: formData,
111111
headers: {
112112
Authorization: `Bearer ${heyApiToken}`

0 commit comments

Comments
 (0)