feat: Adding privacy to loads and companies endpoint
This commit is contained in:
@@ -59,6 +59,7 @@ const schema = new Schema({
|
||||
lng: { type: String },
|
||||
|
||||
is_hidden: { type: Boolean, default: false },
|
||||
privacy: { type: Boolean, default: false }, /// Disables visibility on the directory, only enabled for private groups.
|
||||
createdAt: { type : Date, required : true, default : () => { return Date.now(); } }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user