Skip to content

Commit

Permalink
maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Nov 6, 2024
1 parent afc4b78 commit 8213337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/service-worker/sw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const syncPicturesById = async (ids: string[], token: string) => {

const url = await get("url", apiStore);

if (!url) throw new Error("no backend url in service worker");
if (!url) return void console.error("no backend url in service worker");

const api = createApiClientWithUrl(url);

Expand Down

0 comments on commit 8213337

Please sign in to comment.