Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
fix: deprecated API calls (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored Nov 27, 2021
1 parent 3d1022d commit 94f09d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions background_scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

await browser.notifications.create(data.url, {
type: "basic",
iconUrl: browser.extension.getURL("icons/vaccine-color.svg"),
iconUrl: browser.runtime.getURL("icons/vaccine-color.svg"),
title: "Un créneau de vaccination est disponible !",
message: `Cliquez ici pour finaliser la réservation dans le centre "${data.location.name}"`,
priority: 2,
Expand All @@ -86,7 +86,7 @@
});
await browser.notifications.create({
type: "basic",
iconUrl: browser.extension.getURL("icons/vaccine-color.svg"),
iconUrl: browser.runtime.getURL("icons/vaccine-color.svg"),
title: "Votre créneau de vaccination a été réservé !",
message: `Vous avez rendez-vous au centre "${data.location.name}".`,
});
Expand Down

0 comments on commit 94f09d6

Please sign in to comment.