@worktango/ai-assistant 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/express.js +1 -1
- package/package.json +1 -1
package/dist/express.js
CHANGED
|
@@ -4469,7 +4469,7 @@ function setupAiAssistantRoutes(args) {
|
|
|
4469
4469
|
routePath,
|
|
4470
4470
|
...coalesce(args.preflightMiddlewares, []),
|
|
4471
4471
|
async (req, res) => {
|
|
4472
|
-
const bearerToken = await args.getBearerToken().catch((error) => {
|
|
4472
|
+
const bearerToken = await args.getBearerToken(req).catch((error) => {
|
|
4473
4473
|
logger.error("Error getting bearer token:", error);
|
|
4474
4474
|
res.status(500).send("Error getting bearer token");
|
|
4475
4475
|
return null;
|