poter visualizzare i propri beni e servizi anche se non sei registrato alla app !

This commit is contained in:
Surya Paolo
2023-01-04 02:09:42 +01:00
parent 18b827f5f4
commit dd1c9d573f
5 changed files with 30 additions and 6 deletions

View File

@@ -101,6 +101,9 @@ const sendNotifSchema = new Schema({
sendNotifSchema.statics.setNotifAsRead = function (idapp, username, idnotif) {
const SendNotif = this;
if (!username)
return null;
try {
if (idnotif) {