Skip to content

Commit

Permalink
Merge branch 'main' into forgot-pwd-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NancyAanchal authored Aug 9, 2024
2 parents 37a828e + 62cf32c commit b8cb38d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nepalingo-web/src/lib/getNewariWord.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export async function getNewariWord(word: string): Promise<DictionaryResponse> {
uri: `${import.meta.env.VITE_NEPALBHASA_API_URL}/dict/${meaning.audio.directory}/${meaning.audio.file}`,
},
image: meaning?.image && {
uri: `${import.meta.env.VITE_NEPALBHASA_API_URL}/dict/${meaning.image.directory}/w800h800b1sh1/${meaning.image.file}`,
// TODO: Revert this back to 400x400, Currently set to 400x401 to avoid API error
uri: `${import.meta.env.VITE_NEPALBHASA_API_URL}/dict/${meaning.image.directory}/w400h401b1sh1/${meaning.image.file}`,
},
meaningOriginal: meaning?.meaning_nb,
meaningNp: meaning?.meaning_np,
Expand Down

0 comments on commit b8cb38d

Please sign in to comment.