Refactor
This commit is contained in:
		
							parent
							
								
									335b7dfc7b
								
							
						
					
					
						commit
						b77ffdbeb1
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -226,8 +226,7 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
 | 
				
			||||||
	// Reponse
 | 
						// Reponse
 | 
				
			||||||
	res(postObj);
 | 
						res(postObj);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// -----------------------------------------------------------
 | 
						//#region Post processes
 | 
				
			||||||
	// Post processes
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	User.update({ _id: user._id }, {
 | 
						User.update({ _id: user._id }, {
 | 
				
			||||||
		$set: {
 | 
							$set: {
 | 
				
			||||||
| 
						 | 
					@ -481,4 +480,6 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						//#endregion
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue