Skip to content

Commit

Permalink
Merge pull request #187 from sevenxhq/fix/loadin-local-reference
Browse files Browse the repository at this point in the history
fixed local burrito reference not loading.
  • Loading branch information
vipinpaul authored Oct 23, 2023
2 parents ef9ac52 + 16ae7d9 commit b933f20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const useReadReferenceUsfmFile = ({
const filePath = path.join(newpath, packageInfo.name, 'users', username, 'resources', refName, key);
const fileIngredients = await readIngredients({ filePath });
const books = [{
selectors: { org: refName, lang: 'en', abbr: 'ult' },
selectors: { org: 'unfoldingWord', lang: 'en', abbr: 'ult' },
bookCode: bookId.toLowerCase(),
data: fileIngredients,
}];
Expand All @@ -83,7 +83,7 @@ export const useReadReferenceUsfmFile = ({
const commonResourcePath = path.join(newpath, packageInfo.name, 'common', 'resources', refName, key);
const commonResourceIngredients = await readIngredients({ filePath: commonResourcePath });
const books = [{
selectors: { org: refName, lang: 'en', abbr: 'ult' },
selectors: { org: 'unfoldingWord', lang: 'en', abbr: 'ult' },
bookCode: bookId.toLowerCase(),
data: commonResourceIngredients,
}];
Expand Down

0 comments on commit b933f20

Please sign in to comment.