fix(pwa): ensure promise resolution in PwaService when conditions are not met

This commit is contained in:
4gray committed 2025-03-03 18:47:25 +01:00
1 parent 996cb30f4c
commit e2942f3e00
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -228,7 +228,6 @@ export class PlaylistsService {
) {
try {
const parsedPlaylist = parse(playlist);
console.log(parsedPlaylist);
return createPlaylistObject(
title,
parsedPlaylist,
+2
View File
@@ -80,6 +80,8 @@ export class PwaService extends DataService {
params: Record<string, string>;
}
);
} else {
return Promise.resolve();
}
}