Skip to content

Commit

Permalink
Merge branch 'coronasafe:develop' into Fix-ohcnetwork#7538
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafMd-1 authored Apr 17, 2024
2 parents a1f6fb4 + 6500fc6 commit e41f34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ jobs:
run: |
COMMIT_SHA=${{ github.sha }}
JSON='{ "substitutions": { "care_be_tag":"", "care_fe_tag": "'"$COMMIT_SHA"'", "metabase_tag": "" } }'
curl --location ${{ secrets.STAGING_GCP_DEPLOY_URL }} \
curl --location "${{ secrets.STAGING_GCP_DEPLOY_URL }}" \
--header 'Content-Type: application/json' --data "$JSON"
4 changes: 2 additions & 2 deletions src/Components/Scribe/Scribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const Scribe: React.FC<ScribeProps> = ({ fields, onFormUpdate }) => {
const newFile = new File([f], `${internal_name}`, { type: f.type });
const config = {
headers: {
"Content-type": newFile?.type,
"Content-type": newFile?.type?.split(";")?.[0],
"Content-disposition": "inline",
},
};
Expand Down Expand Up @@ -120,7 +120,7 @@ export const Scribe: React.FC<ScribeProps> = ({ fields, onFormUpdate }) => {
name: filename,
associating_id: associatingId,
file_category: category,
mime_type: audioBlob?.type.split(";")[0],
mime_type: audioBlob?.type?.split(";")?.[0],
},
})
.then((response) => {
Expand Down

0 comments on commit e41f34b

Please sign in to comment.