delete masters _id
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				platform/multy-stub/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	platform/multy-stub/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		
							parent
							
								
									e7451aea5b
								
							
						
					
					
						commit
						558245f876
					
				| @ -11,6 +11,9 @@ const schema = new Schema({ | ||||
| schema.set('toJSON', { | ||||
|     virtuals: true, | ||||
|     versionKey: false, | ||||
|     transform(_doc, ret) { | ||||
|         delete ret._id; | ||||
|     } | ||||
| }) | ||||
| 
 | ||||
| schema.virtual('id').get(function () { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user