lib/card/auth/setup.rb in card-1.99.1 vs lib/card/auth/setup.rb in card-1.99.2
- old
+ new
@@ -40,10 +40,10 @@
def user_account_ids
as_bot { Card.search user_account_wql.merge(return: :id) }
end
def user_account_wql
- { right_id: AccountID, creator_id: ["ne", WagnBotID] }
+ { right_id: Card::AccountID, creator_id: ["ne", Card::WagnBotID] }
end
def user_account_count
wql = user_account_wql
wql[:not] = { id: ["in"].concat(@hidden_accounts) } if @hidden_accounts