Commit 75bf1c39 authored by Michael Rose's avatar Michael Rose

index: character: avoid indexing char 0 by parsing as int

parent 4a5b7fa7
......@@ -5,7 +5,7 @@ class IndexCharacterWorker
def perform(character_id, body, index_name) "[#{character_id}] Indexing character from Crawler"
if character_id == 0
if character_id.to_i == 0 "[#{character_id}] Skipping 'All Characters' character."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment