Skip to content

Commit

Permalink
Remove to_json
Browse files Browse the repository at this point in the history
We no longer need to turn the string into json. Currently that action
is causing chars like quotes and newlines to show up.
  • Loading branch information
hannahramadan committed Aug 23, 2023
1 parent 86cdeee commit ce79891
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def self.feed
end

def self.cve_message(title, url)
":rotating_light: #{title}\n<#{url}|More info here>".to_json
":rotating_light: #{title}\n<#{url}|More info here>"
end
end

Expand Down

0 comments on commit ce79891

Please sign in to comment.