mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 19:47:04 +03:00
I forgot to change the 24h countdown back to 24h instead of 1 seconds
This commit is contained in:
@@ -772,7 +772,7 @@ function getVipSegmentsWarnings(id: string): void {
|
|||||||
async function isVipLookup() {
|
async function isVipLookup() {
|
||||||
const currentTime = Date.now();
|
const currentTime = Date.now();
|
||||||
const lastUpdate = Config.config.lastIsVipUpdate;
|
const lastUpdate = Config.config.lastIsVipUpdate;
|
||||||
if (currentTime - lastUpdate > 1) { //max every 24 hours 1000*60*60*24
|
if (currentTime - lastUpdate > 1000*60*60*24) { //max every 24 hours 1000*60*60*24
|
||||||
Config.config.lastIsVipUpdate = currentTime;
|
Config.config.lastIsVipUpdate = currentTime;
|
||||||
utils.sendRequestToServer("GET", "/api/isUserVIP?userID=" + Config.config.userID,
|
utils.sendRequestToServer("GET", "/api/isUserVIP?userID=" + Config.config.userID,
|
||||||
(response) => {
|
(response) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user