mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	fix: missing await
This commit is contained in:
		| @@ -425,7 +425,7 @@ Flags.appendNote = async function (flagId, uid, note, datetime) { | ||||
| 	datetime = datetime || Date.now(); | ||||
| 	const payload = JSON.stringify([uid, note]); | ||||
| 	await db.sortedSetAdd('flag:' + flagId + ':notes', datetime, payload); | ||||
| 	Flags.appendHistory(flagId, uid, { | ||||
| 	await Flags.appendHistory(flagId, uid, { | ||||
| 		notes: null, | ||||
| 		datetime: datetime, | ||||
| 	}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user