diff --git a/api/server/routes/ask/askGoogle.js b/api/server/routes/ask/askGoogle.js index 195814dff8..8ff0e14584 100644 --- a/api/server/routes/ask/askGoogle.js +++ b/api/server/routes/ask/askGoogle.js @@ -95,7 +95,7 @@ const ask = async ({ text, endpointOption, parentMessageId = null, conversationI try { if (!key) { - key = require('../../data/auth.json'); + key = require('../../../data/auth.json'); } } catch (e) { console.log("No 'auth.json' file (service account key) found in /api/data/ for PaLM models");