Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-xiong committed Oct 19, 2023
1 parent ff91f00 commit eddf161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/notify_new_symbol_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def check_symbol_from_api
prev_symbols = JSON.parse($redis.get(redis_key)) rescue []
diff_symbols = symbols - prev_symbols
$redis.set(redis_key, symbols)
SlackService.send_notification(nil, format_blocks(diff_symbols)) if diff_symbols.any?
SlackService.send_notification(nil, format_api_blocks(diff_symbols)) if diff_symbols.any?
end

def format_notice_blocks(msg)
Expand Down

0 comments on commit eddf161

Please sign in to comment.