UserBio: a few fixes, but still doesn't work as expected
[vchess.git] / server / models / User.js
index 8a97d57..37df4e6 100644 (file)
@@ -58,7 +58,7 @@ const UserModel = {
     });
   },
 
-  getBio: function(id) {
+  getBio: function(id, cb) {
     db.serialize(function() {
       const query =
         "SELECT bio " +