Bunch small things: Notifs for react, subsplash...
This commit is contained in:
@@ -216,9 +216,10 @@ userDB = (DB) => {
|
||||
}
|
||||
|
||||
DB.setProfileToken = (profileid, token)=>{
|
||||
if(!token) return false;
|
||||
const _id = DB.ObjectID(profileid);
|
||||
let update = {
|
||||
$set:{
|
||||
$addToSet:{
|
||||
token
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user