Skip to content

Commit

Permalink
remove unnecessary parenthesis.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasconsaurus committed Aug 2, 2024
1 parent 6918141 commit 4d5ce96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/annotations/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def self.run_bulk_create_callbacks(ids_json, pmids_json)
def get_tag_text_reference
if self.tag.is_a?(String)
team_id = self.team&.id
tag_text = TagText.where(text: (self.tag).strip, team_id: team_id).last
tag_text = TagText.where(text: self.tag.strip, team_id: team_id).last
if tag_text.nil? && team_id.present?
tag_text = TagText.new
tag_text.text = self.tag
Expand Down

0 comments on commit 4d5ce96

Please sign in to comment.