more typo

This commit is contained in:
Dobromir Popov
2024-04-17 01:38:08 +03:00
parent 348e404565
commit c0a2a5f171

View File

@ -35,6 +35,6 @@ function generateClientSecret() {
sub: appleAppID,
};
const token = jwt.sign(claims, privateKey, { algorithm: 'ES256', header: { alg: 'ES256', kid: keyId } });
const token = jwt.sign(claims, appleKey, { algorithm: 'ES256', header: { alg: 'ES256', kid: keyID } });
return token;
}