Skip to content

Commit

Permalink
log translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ebubae committed Nov 20, 2024
1 parent cba4fff commit 044d749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const getTranslation: MiddleWare = async (req, res, next) => {
}

// Talks to translation endpoint
console.log(`translating on ${SUPPORTED_TRANSLATIONS[sourceLanguage][destinationLanguage]!.translationAPI} `)
const { data: response } = await axios.request<Translation>({
method: 'POST',
url: SUPPORTED_TRANSLATIONS[sourceLanguage][destinationLanguage]!.translationAPI,
Expand Down

0 comments on commit 044d749

Please sign in to comment.