Skip to content

Commit

Permalink
Updated request-promise-native
Browse files Browse the repository at this point in the history
  • Loading branch information
yashkohli88 committed Jun 14, 2024
1 parent 5f8125c commit 8cee2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/fetch/debianFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class DebianFetch extends AbstractFetch {
// Example: https://sources.debian.org/api/src/amoeba/latest
async _getLatestVersion(spec) {
const url = `https://sources.debian.org/api/src/${spec.name}/latest`
const response = await callFetch({ url, responseTyoe: 'json' })
const response = await callFetch({ url, responseType: 'json' })
return response.version
}

Expand Down
2 changes: 1 addition & 1 deletion providers/store/webhookDeltaStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class WebhookDeltaStore {
const uri = this.options.url
var options = {
method: 'POST',
uri,
url: uri,
responseType: 'json',
body: pick(document, '_metadata'),
headers: {
Expand Down

0 comments on commit 8cee2df

Please sign in to comment.