Skip to content

Commit

Permalink
Fixed undefined appearing before Google API pull was complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy authored Jul 5, 2019
1 parent 072033e commit daf0fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/database_reading.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var readDatabase = function(){
document.getElementById("vidAmount").innerHTML = row.totalCount;
});

db.each(`SELECT vid, COUNT(title) as totalCount
db.each(`SELECT vid, COUNT(title) as totalCount, title, author_id
FROM videoshistory
GROUP BY title
ORDER BY totalCount DESC
Expand Down

0 comments on commit daf0fca

Please sign in to comment.