Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Apr 10, 2024
1 parent 782d963 commit 85db43c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/functions/documents-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export async function postDocuments(request: HttpRequest, context: InvocationCon
const azureOpenAiEndpoint = process.env.AZURE_OPENAI_API_ENDPOINT;

try {
// Get the uploaded file from the request
const parsedForm = await request.formData();

if (!parsedForm.has('file')) {
Expand Down

0 comments on commit 85db43c

Please sign in to comment.