Add preview of followers removed in domain block modal in web UI (#32032)
This commit is contained in:
		
							
								
								
									
										5
									
								
								app/serializers/rest/domain_block_preview_serializer.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								app/serializers/rest/domain_block_preview_serializer.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
 | 
			
		||||
class REST::DomainBlockPreviewSerializer < ActiveModel::Serializer
 | 
			
		||||
  attributes :following_count, :followers_count
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user