mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	must be singelquotes
This commit is contained in:
		
							parent
							
								
									9a5a8646eb
								
							
						
					
					
						commit
						bb9c9d1014
					
				| @ -22,7 +22,7 @@ module.exports = function(db) { | ||||
|         return db | ||||
|         .select(EVENT_COLUMNS) | ||||
|         .from('events') | ||||
|         .whereRaw('data ->> "name" = ?', [name]) | ||||
|         .whereRaw('data ->> \'name\' = ?', [name]) | ||||
|         .orderBy('created_at', 'desc') | ||||
|         .map(rowToEvent); | ||||
|     } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user