Skip to content

Commit c986513

Browse files
author
Frank
committed
Fix bug.
1 parent ddbe723 commit c986513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/viz.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ router.get("/surveys/bigfiveaspect/viz", function (req, res) {
119119
};
120120
data.map(function (i) {
121121
data_array.push(i.datasummary);
122-
temp_data = i.datasummary.filter(i => i.param == 'subscale2');
122+
temp_data = i.datasummary.filter(i => i.param == 'subscale');
123123
for (i = 0; i < temp_data.length; i++) {
124124
corr_matrix[temp_data[i].subscale].push(temp_data[i].value);
125125
}

0 commit comments

Comments
 (0)