mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-03 22:21:55 +00:00 
			
		
		
		
	Fix order for import
This commit is contained in:
		@@ -48,7 +48,7 @@ struct Invidious::User
 | 
			
		||||
 | 
			
		||||
      if data["watch_history"]?
 | 
			
		||||
        user.watched += data["watch_history"].as_a.map(&.as_s)
 | 
			
		||||
        user.watched.uniq!
 | 
			
		||||
        user.watched.reverse!.uniq!.reverse!
 | 
			
		||||
        Invidious::Database::Users.update_watch_history(user)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user