mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-22 14:37:30 +08:00
fix: save play record
This commit is contained in:
@@ -668,7 +668,7 @@ function PlayPageClient() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await savePlayRecord(currentSource, currentId, {
|
await savePlayRecord(currentSourceRef.current, currentIdRef.current, {
|
||||||
title: videoTitleRef.current,
|
title: videoTitleRef.current,
|
||||||
source_name: detailRef.current?.source_name || '',
|
source_name: detailRef.current?.source_name || '',
|
||||||
year: detailRef.current?.year || '',
|
year: detailRef.current?.year || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user