Skip to content

Commit 1fd2cfe

Browse files
authored
Merge branch 'IKMLab:master' into master
2 parents b36af43 + 477664a commit 1fd2cfe

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/res/data/research.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3738,8 +3738,8 @@ const schemaCheck = () => {
37383738

37393739
// Check if venue type is filled.
37403740
if (!validator(
3741-
research.venueType,
3742-
schema.items.properties.venueType.type,
3741+
research.venueType,
3742+
schema.items.properties.venueType.type,
37433743
)) {
37443744
console.error(research)
37453745
const tp = schema.items.properties.venueType.type
@@ -3797,17 +3797,17 @@ const schemaCheck = () => {
37973797
// an array.
37983798
if (research.subfields) {
37993799
if (!validator(
3800-
research.subfields,
3801-
schema.items.properties.subfields.type,
3800+
research.subfields,
3801+
schema.items.properties.subfields.type,
38023802
)) {
38033803
console.error(research)
38043804
const tp = schema.items.properties.subfields.type
38053805
throw new Error(`research.subfields is not type ${tp}.`)
38063806
}
38073807
research.subfields.forEach((subfield) => {
38083808
if (!validator(
3809-
subfield,
3810-
schema.items.properties.subfields.items.type,
3809+
subfield,
3810+
schema.items.properties.subfields.items.type,
38113811
)) {
38123812
console.error(research)
38133813
const tp = schema.items.properties.subfields.items.type
@@ -3819,8 +3819,8 @@ const schemaCheck = () => {
38193819

38203820
// Check if professorPreferredFormat format is filled.
38213821
if (!validator(
3822-
research.professorPreferredFormat,
3823-
schema.items.properties.professorPreferredFormat.type)) {
3822+
research.professorPreferredFormat,
3823+
schema.items.properties.professorPreferredFormat.type)) {
38243824
console.error(research)
38253825
const tp = schema.items.properties.professorPreferredFormat.type
38263826
throw new Error(`research.professorPreferredFormat is not type ${tp}.`)

0 commit comments

Comments
 (0)