From 5849ae2de4aa63ccd3029f234e56493799547c2a Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 11 Aug 2024 19:01:34 -0600 Subject: [PATCH] remove "export" that's not available in raw JS --- sw_scripts/safari-notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw_scripts/safari-notifications.js b/sw_scripts/safari-notifications.js index 37a003c46..5ba7e06a9 100644 --- a/sw_scripts/safari-notifications.js +++ b/sw_scripts/safari-notifications.js @@ -566,7 +566,7 @@ async function getNotificationCount() { return result; } -export async function blobToBase64String(blob) { +async function blobToBase64String(blob) { return new Promise((resolve, reject) => { const reader = new FileReader(); reader.onloadend = () => resolve(reader.result); // potential problem if it returns an ArrayBuffer?