Skip to content

Commit

Permalink
skip digital biz card images
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 28, 2025
1 parent f3f93e7 commit af4a572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ def stats
private

def per_page
params[:per].presence || 50
params[:per].presence || 300
end
end
1 change: 1 addition & 0 deletions app/lib/email_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def process
next if @user.id == 10836 && image_url.downcase.include?("b_logo.png")
next if @user.id == 2541 && image_url.downcase.include?("image001.jpg")
next if image_url.downcase.include?("linkedin_icon_circle.svg.png")
next if image_url.downcase.include?("app.v1ce.co.uk") # digital business cards

valid_attachment_urls << image_url
end
Expand Down

0 comments on commit af4a572

Please sign in to comment.