- tutorial Circuito Ris Italia
- Invia RIS (visibile per tutti)
This commit is contained in:
@@ -441,6 +441,10 @@ const UserSchema = new mongoose.Schema({
|
||||
type: String,
|
||||
trim: true,
|
||||
},
|
||||
resid_card: {
|
||||
type: String,
|
||||
trim: true,
|
||||
},
|
||||
stepTutorial: {
|
||||
type: Number,
|
||||
},
|
||||
@@ -1623,6 +1627,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -1667,6 +1672,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -1712,6 +1718,7 @@ UserSchema.statics.getUserProfileByUsername = async function (
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
'profile.handshake': 1,
|
||||
'profile.friends': 1,
|
||||
@@ -3006,6 +3013,7 @@ function getWhatToShow(idapp, username) {
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
email: 1,
|
||||
date_reg: 1,
|
||||
@@ -3030,6 +3038,7 @@ function getWhatToShow_Unknown(idapp, username) {
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
date_reg: 1,
|
||||
'profile.handshake': 1,
|
||||
@@ -3056,6 +3065,7 @@ UserSchema.statics.getWhatToShow_IfFriends = async function (idapp, username) {
|
||||
'profile.born_province': 1,
|
||||
'profile.born_country': 1,
|
||||
'profile.resid_province': 1,
|
||||
'profile.resid_card': 1,
|
||||
'profile.calc': 1,
|
||||
reported: 1,
|
||||
date_report: 1,
|
||||
|
||||
Reference in New Issue
Block a user