Skip to content

Commit

Permalink
Fix gdpr contact mailer preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfeldis committed Dec 12, 2024
1 parent dc2257a commit 7ecd834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/mailers/previews/gdpr_contact_mailer_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def params_for(contact)
end

def find_authorization_request_by(contact)
AuthorizationRequest.where.not("data ? '#{contact}_email'").first
AuthorizationRequest.where("data ? '#{contact}_email'").first
end
end

0 comments on commit 7ecd834

Please sign in to comment.