mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 23:17:02 +03:00
Fix type error in tests
This commit is contained in:
@@ -30,7 +30,7 @@ export async function verifyTokenRequest(req: VerifyTokenRequest, res: Response)
|
||||
});
|
||||
}
|
||||
|
||||
if (isLocalLicenseKey(licenseKey)) {
|
||||
if (isLocalLicenseKey(licenseKey) && !licenseKey.startsWith("P")) {
|
||||
const parts = licenseKey.split("-");
|
||||
const code = parts[0];
|
||||
const givenResult = parts[1];
|
||||
|
||||
Reference in New Issue
Block a user