Skip to content

Commit

Permalink
Deploy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCarlino committed Apr 14, 2020
1 parent e801d53 commit 7d5fe7c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/tasks/broadcast.rake
@@ -1,6 +1,4 @@
class BroadcastToAll < Mutations::Command
RELEVANT_TIMEFRAME = 7.months.ago

required do
string :title
string :content
Expand Down Expand Up @@ -31,7 +29,7 @@ class BroadcastToAll < Mutations::Command
end

def devices
@devices ||= Device.where("updated_at > ?", RELEVANT_TIMEFRAME)
@devices ||= Device.all
end

def attach_alerts
Expand Down

0 comments on commit 7d5fe7c

Please sign in to comment.