Compare commits
	
		
			No commits in common. "ce4b2c2ad8ab01b14366bea5145322d3a86e4335" and "caf5929e6d2f8db5fb0c948b8a19646d35f7a4de" have entirely different histories.
		
	
	
		
			ce4b2c2ad8
			...
			caf5929e6d
		
	
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ pub async fn db_new_comment(
 | 
			
		|||
    let insert_query = sqlx::query!(
 | 
			
		||||
        "INSERT INTO comments (parent_post_id, parent_comment_id, author_user_id, content) VALUES ($1, $2, $3, $4)",
 | 
			
		||||
        parent_post_id,
 | 
			
		||||
        parent_comment_id,
 | 
			
		||||
        parent_comment_id.unwrap_or(-1), // This is a bit of a hack
 | 
			
		||||
        user_id,
 | 
			
		||||
        content
 | 
			
		||||
    )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue