Skip to content

Commit

Permalink
Added asmaa_al_husna as json file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ref-Bit authored Aug 18, 2022
1 parent d138290 commit 8ebb8ed
Show file tree
Hide file tree
Showing 2 changed files with 903 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const getTranslations = async (locale) => {

export const getAsmaa = async () => {
try{
const { data } = await axios(`https://api.aladhan.com/asmaAlHusna`)
const { data } = await axios('../data/asmaa_al_husna.json')

return data
} catch (error) {
Expand Down
Loading

0 comments on commit 8ebb8ed

Please sign in to comment.