Fix method name in Exporter user_stub call

This commit is contained in:
Andreas Nedbal 2022-07-02 06:19:39 +02:00 committed by Karina Kwiatek
parent 126204d759
commit 99035b42d9
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Exporter
def user_stub(user) def user_stub(user)
uobj = {} uobj = {}
%i[answered_count asked_count comment_smiled_count commented_count created_at %i[answered_count asked_count comment_smiled_count commented_count created_at
id permanently_banned screen_name smiled_count].each do |f| id permanently_banned? screen_name smiled_count].each do |f|
uobj[f] = user.send f uobj[f] = user.send f
end end