Skip to content

Commit

Permalink
Update database.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leedh430 authored Dec 11, 2019
1 parent d26d6e5 commit 06d5be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/utils/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const reportUser = async (userId) => {
try {
const update = await query(sql, params);
const getReportCount = await query(sql2, params);
const report_count = getReportCount[0];
const report_count = getReportCount[0].report_count;
if (report_count % 3 == 0){
await downReliability(userId);
}
Expand Down

0 comments on commit 06d5be8

Please sign in to comment.