sito Terra Della Visione...3

Pagina Operatori
This commit is contained in:
Paolo Arena
2022-05-27 01:34:06 +02:00
parent bedd724523
commit d8aa8e546e
4 changed files with 10 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ const OperatorSchema = new Schema({
facebook: {
type: String,
},
info: {
info: { // Biografia HTML
type: String,
},
intro: {
@@ -71,6 +71,12 @@ const OperatorSchema = new Schema({
skype: {
type: String,
},
showInTeam: {
type: Boolean,
},
arrDisciplines: [{
type: String,
}],
});
OperatorSchema.statics.getEmailByUsername = async function (idapp, username) {