add comment

This commit is contained in:
Hongbo Wu 2024-04-09 10:47:23 +08:00
parent c4882c2542
commit 70b1a1d3c7

View file

@ -232,6 +232,7 @@ export const textToSpeechStreamingHandler = Sentry.GCPFunction.wrapHttpFunction(
let claim: Claim
try {
// ignore expiration for now and verify function will also decode the token
claim = jwt.verify(token, process.env.JWT_SECRET, {
ignoreExpiration: true,
}) as Claim