diff --git a/backend/data/TranslatedContent.numbers b/backend/data/TranslatedContent.numbers index 53a8693e..fba46cfa 100755 Binary files a/backend/data/TranslatedContent.numbers and b/backend/data/TranslatedContent.numbers differ diff --git a/backend/data/TranslatedContent.xlsx b/backend/data/TranslatedContent.xlsx index d63822e3..696c65cf 100644 Binary files a/backend/data/TranslatedContent.xlsx and b/backend/data/TranslatedContent.xlsx differ diff --git a/backend/src/scripts/helpers/sendRequest.ts b/backend/src/scripts/helpers/sendRequest.ts index 491f05e9..c1d34395 100644 --- a/backend/src/scripts/helpers/sendRequest.ts +++ b/backend/src/scripts/helpers/sendRequest.ts @@ -8,6 +8,7 @@ type SendRequestObj = { const DEFAULT_HEADERS = { 'Content-Type': 'application/json', + Authorization: '', }; const logger = scopedLogger('sendRequest'); export async function sendRequest(requestObj: SendRequestObj, headers = DEFAULT_HEADERS) { diff --git a/docker-compose.yml b/docker-compose.yml index 14aebcf8..6f988123 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,8 @@ services: - "3001:3001" environment: - MONGO_URI=mongodb://eimmigrate:eimmigrate@mongo/eimmigrate?authSource=admin - # - SENDGRID_API_KEY=SG.hxxxx + - SENDGRID_API_KEY=SG.hxxxx + - SENDER_EMAIL='noreply@cet-icp.org' labels: - "org.opensourcesanjose.app=eimmigrate" depends_on: diff --git a/frontend/src/containers/MainContainer/MainContainer.tsx b/frontend/src/containers/MainContainer/MainContainer.tsx index 3e722bc1..a78c5c46 100644 --- a/frontend/src/containers/MainContainer/MainContainer.tsx +++ b/frontend/src/containers/MainContainer/MainContainer.tsx @@ -23,7 +23,6 @@ import { ContentText } from '../../types/ContentText'; import { useContentContext } from '../../contexts/ContentContext'; import { useLanguageContext } from '../../contexts/LanguageContext'; import { QuestionnaireResponse } from '../../contexts/QuestionnaireResponseContext'; -import { Button } from '../../components/Button/Button'; import { NavigateToEligibilityIfMissing } from '../../compositions/NavigateToMissingStage'; import classNames from 'classnames'; diff --git a/frontend/src/sendRequest/apiUrls.ts b/frontend/src/sendRequest/apiUrls.ts index 04e8a313..ef6223aa 100644 --- a/frontend/src/sendRequest/apiUrls.ts +++ b/frontend/src/sendRequest/apiUrls.ts @@ -7,6 +7,7 @@ export const apiUrls = { registerApi: '/api/admins', deleteApi: '/api/admins/:id', uploadQuestinnaires: '/api/admins/questionnairefile', + uploadNewTranslatedContent: '/api/translatedContent/add', getListOfQuestionnaires: '/api/admins/questionnaires', deleteQuestionnaireByTitle: '/api/admins/deletequestionnaire/:title', } as const,