react and unreact
This commit is contained in:
@@ -34,7 +34,7 @@ userDB = (DB) => {
|
||||
DB.latestProfile = async (userId) => {
|
||||
const userid = DB.ObjectID(userId);
|
||||
let r = await DB.profileCols.find({ userid })
|
||||
.sort({ lastUpdate: -1 }).limit(1)
|
||||
.sort({ lastUpdate: -1 })
|
||||
.toArray().catch((err) => {
|
||||
console.log(err);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user