mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
refactor: Refactor API imports and update API endpoints
This commit is contained in:
@@ -267,7 +267,7 @@ function handleDislike() {
|
||||
}
|
||||
|
||||
browser.runtime.sendMessage({
|
||||
contentScriptQuery: 'dislikeVideo',
|
||||
contentScriptQuery: API.VIDEO.DISLIKE_VIDEO,
|
||||
...params,
|
||||
sign: getTvSign(params),
|
||||
})
|
||||
@@ -297,7 +297,7 @@ function handleUndoDislike(video: AppVideoItem) {
|
||||
}
|
||||
|
||||
browser.runtime.sendMessage({
|
||||
contentScriptQuery: 'undoDislikeVideo',
|
||||
contentScriptQuery: API.VIDEO.UNDO_DISLIKE_VIDEO,
|
||||
...params,
|
||||
sign: getTvSign(params),
|
||||
}).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user