Skip to content

Commit

Permalink
fix: infinite call on prime video (null safe operator on rating)
Browse files Browse the repository at this point in the history
  • Loading branch information
bt0r committed May 14, 2024
1 parent 4cc6538 commit 42e8e37
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest_chrome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "SensCritique",
"version": "1.5.0",
"version": "1.5.1",
"description": "Vous avez du mal à trouver des bons programmes sur vos plateformes de streaming ?",
"icons": {
"48": "images/logo-48.png",
Expand Down
2 changes: 1 addition & 1 deletion manifest_firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "SensCritique",
"version": "1.5.0",
"version": "1.5.1",
"description": "La note SensCritique est une boussole pour arrêter de perdre votre temps, et s’invite sur Netflix, Prime Video et Disney+ pour vous permettre de choisir de manière éclairée vos programmes.",
"icons": {
"48": "images/logo-48.png",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "senscritique-extension",
"version": "1.5.0",
"version": "1.5.1",
"description": "La note SensCritique est une boussole pour arrêter de perdre votre temps, et s’invite sur Netflix, Prime Video et Disney+ pour vous permettre de choisir de manière éclairée vos programmes.",
"author": "SensCritique",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/dom/providers/PrimeVideo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default class PrimeVideo extends Manager {
platformId,
redirect: await generateRedirectUrl(name),
type: browserExtensionProduct.type,
rating: browserExtensionProduct.rating.toString(),
rating: browserExtensionProduct.rating?.toString(),
url: browserExtensionProduct.url,
})
}
Expand Down

0 comments on commit 42e8e37

Please sign in to comment.