Skip to content

Commit b9dfd5b

Browse files
committed
classes fix
1 parent 615fdc6 commit b9dfd5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ function parseClassData(apiResponse){
18741874
returnObj.endDate=prettyDateString(classInfo["Date"]?.date?.end)
18751875
returnObj.startDate2=prettyDateString(classInfo["Date 2"]?.date?.start)
18761876
returnObj.endDate2=prettyDateString(classInfo["Date 2"]?.date?.end)
1877-
returnObj.numberOfClasses=classInfo["Sections"].number
1877+
returnObj.numberOfClasses=classInfo["Classes"].number
18781878
returnObj.time=classInfo["Time"].rich_text[0]?.plain_text
18791879
returnObj.appQuestion=classInfo["Application Question"].rich_text[0]?.plain_text
18801880
returnObj.location=classInfo["Location"].rich_text[0]?.plain_text

0 commit comments

Comments
 (0)