Skip to content

Commit

Permalink
fix: use v4 of the Mozilla addons API for now (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Curetix authored May 25, 2023
1 parent 4c1291e commit 57075fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class MozillaAddonsAPI {
options = {} as Options

get productEndpoint() {
return `${baseApiUrl}/v5/addons/${encodeURIComponent(this.options.extId)}`
return `${baseApiUrl}/v4/addons/${encodeURIComponent(this.options.extId)}`
}

constructor(options: Options) {
Expand Down

0 comments on commit 57075fc

Please sign in to comment.