mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-29 10:54:12 +00:00
add support for deepgram STT
This commit is contained in:
1 parent
1b67d5f89d
commit
ee5e25bb8d
7 files changed
+171
-17
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ const sql = `
|
||||
function makeStrategy(logger, retrieveKey) {
|
||||
return new Strategy(
|
||||
async function(token, done) {
|
||||
logger.debug(`validating with token ${token}`);
|
||||
//logger.debug(`validating with token ${token}`);
|
||||
jwt.verify(token, process.env.JWT_SECRET, async(err, decoded) => {
|
||||
if (err) {
|
||||
if (err.name === 'TokenExpiredError') {
|
||||
|
||||
Reference in new issue
Block a user