[API] Fix #3169
This commit is contained in:
		
							parent
							
								
									4bc919a912
								
							
						
					
					
						commit
						f05a688ac2
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		|  | @ -47,13 +47,9 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	// Delete reaction
 | 	// Delete reaction
 | ||||||
| 	await Reaction.update({ | 	await Reaction.remove({ | ||||||
| 		_id: exist._id | 		_id: exist._id | ||||||
| 	}, { | 	}); | ||||||
| 			$set: { |  | ||||||
| 				deletedAt: new Date() |  | ||||||
| 			} |  | ||||||
| 		}); |  | ||||||
| 
 | 
 | ||||||
| 	res(); | 	res(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue