Skip to content

Commit f911c53

Browse files
abetomootegami
andauthored
Update lib/full_text_search/journal_mapper.rb
Co-authored-by: takuya kodama <a.s.takuya1026@gmail.com>
1 parent 3916e14 commit f911c53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/full_text_search/journal_mapper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def upsert_fts_target(options={})
3434
return unless issue.is_a?(Issue)
3535

3636
fts_target = find_fts_target(initialize: options.fetch(:initialize, true))
37-
return if fts_target.blank?
37+
return unless fts_target
3838

3939
fts_target.source_id = @record.id
4040
fts_target.source_type_id = Type[@record.class].id

0 commit comments

Comments
 (0)