Update src/content.ts

Co-authored-by: Ajay Ramachandran <dev@ajay.app>
This commit is contained in:
Joe Dowd
2020-09-04 11:54:30 +01:00
committed by GitHub
parent 1a48f556fa
commit 35651d2a50

View File

@@ -621,7 +621,7 @@ function sponsorsLookup(id: string) {
// Check for hashPrefix setting // Check for hashPrefix setting
let getRequest; let getRequest;
if (Config.config.hashPrefix) { if (Config.config.hashPrefix) {
getRequest = utils.asyncRequestToServer('GET', "/api/skipSegments/"+utils.getHash(id, 1).substr(0,4), { getRequest = utils.asyncRequestToServer('GET', "/api/skipSegments/" + utils.getHash(id, 1).substr(0,4), {
categories categories
}); });
} else { } else {