Skip to content

Commit

Permalink
Transform Riddle achievement into a file-based achievement (to be fil…
Browse files Browse the repository at this point in the history
…led later)
  • Loading branch information
pil0u committed Nov 21, 2023
1 parent c433504 commit 12816ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/domains/achievements/countdown_riddle_mass_unlocker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
module Achievements
class CountdownRiddleMassUnlocker < MassUnlocker
def call
eligible_users = User.where(uid: %w[171 5134 7665 11200 13740 14764])
uids = File.readlines("db/static/achievement_countdown_riddle_uids.txt").map(&:strip)
eligible_users = User.where(uid: uids)

unlock_for!(eligible_users)
end
Expand Down
Empty file.

0 comments on commit 12816ab

Please sign in to comment.