Skip to content

Commit fe6fb89

Browse files
committed
Deleted old rake task and updated new one
1 parent d745c01 commit fe6fb89

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

lib/tasks/deployment/20230822145532_populate_api_tokens.rake

Lines changed: 0 additions & 17 deletions
This file was deleted.

lib/tasks/deployment/20250226013208_populate_new_api_and_refresh_token.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace :after_party do
55

66
# Put your task implementation HERE.
77
User.find_each do |user|
8+
user.update(receive_sms_notifications: false) if user.phone_number.blank?
89
user.api_credential || user.create_api_credential
910
end
1011

0 commit comments

Comments
 (0)