@studyportals/fawkes 7.2.2-22 → 7.2.2-23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ export class DegreeCountryTuitionFee extends ProgrammesBaseIndexabilityPolicy {
35
35
  if (!affordableTuition) {
36
36
  return paths;
37
37
  }
38
- const llmAllowedCountryIds = ['82', '30', '32', '108'];
38
+ const llmAllowedCountryIds = ['82', '30', '56', '108'];
39
39
  for (const pageNumber of this.indexablePageNumbers) {
40
40
  if (mba) {
41
41
  for (const country of countryFragments) {
@@ -45,6 +45,9 @@ export class DegreeCountryAttendanceSpecificRule extends BaseProgrammeRule {
45
45
  const degreeTypeValue = degreeTypeValues[0];
46
46
  const countryValue = countryValues[0];
47
47
  const attendanceValue = attendanceValues[0];
48
+ if (!degreeTypeValue || !countryValue || !attendanceValue) {
49
+ return Promise.resolve(false);
50
+ }
48
51
  if (attendanceValue !== AttendanceFilterOptionValue.ONLINE) {
49
52
  return Promise.resolve(false);
50
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/fawkes",
3
- "version": "7.2.2-22",
3
+ "version": "7.2.2-23",
4
4
  "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
5
  "files": [
6
6
  "./dist"