Mark video watched (#59)
* Mark video watched * Lint fix * return type * fix return type * Changelog --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
53f9249b9f
commit
82162d52c1
4 files changed
+40
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import "pkg:/source/services/Invidious.bs"
|
||||
|
||||
@asynctask
|
||||
function MarkVideoWatchedTask(input as object) as object
|
||||
videoId = input.videoId
|
||||
|
||||
success = Invidious.MarkVideoWatched(videoId)
|
||||
return {
|
||||
success: success
|
||||
}
|
||||
end function
|
||||
Reference in new issue
Block a user