[skip-ci] small refactor
This commit is contained in:
1 parent
310d53dd61
commit
fa3921cd33
2 files changed
+47
-13
No files matched your search
@@ -110,6 +110,9 @@
|
||||
try {
|
||||
isLoading = true;
|
||||
videoMetadata = await PlayletApi.getVideoInfo(videoId);
|
||||
if (videoMetadata?.error) {
|
||||
throw videoMetadata.error;
|
||||
}
|
||||
videoStartAtChecked = timestamp !== undefined;
|
||||
if (videoStartAtChecked) {
|
||||
videoStartAtTimestamp = timestamp;
|
||||
|
||||
Reference in new issue
Block a user