From 57075fcf6bb1755d6b8c5276f848c498009dedf6 Mon Sep 17 00:00:00 2001 From: Curetix Date: Thu, 25 May 2023 19:40:25 +0200 Subject: [PATCH] fix: use v4 of the Mozilla addons API for now (#75) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f40fa65..f24bdde 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) {