Skip to content

Commit

Permalink
Merge branch 'padms/1864' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Nov 3, 2023
2 parents 5106c74 + ebfbc98 commit 51b17ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions search/IndexSanityContent/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AzureFunction, Context, HttpRequest } from '@azure/functions'
//import { dotenv } from 'dotenv-azure'
// eslint-disable-next-line import/no-named-as-default
import DotenvAzure from 'dotenv-azure'
import { indexEvents } from './events'
Expand Down Expand Up @@ -29,8 +30,10 @@ const httpTrigger: AzureFunction = async function (context: Context, req: HttpRe
allowEmptyValues: true,
debug: false,
})
//await dotenv.config()

const logger = context.log
logger.info(JSON.stringify(req.body))
const language = pipe(languageFromIso(req.body.language), languageOrDefault)

const getIndex = pipe(
Expand Down

0 comments on commit 51b17ff

Please sign in to comment.