Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ GEM
nio4r (2.5.8)
nokogiri (1.13.1-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.1-x86_64-linux)
racc (~> 1.4)
orm_adapter (0.5.0)
public_suffix (4.0.6)
puma (5.6.2)
Expand Down Expand Up @@ -225,6 +227,7 @@ GEM

PLATFORMS
x86_64-darwin-20
x86_64-linux

DEPENDENCIES
bootsnap (>= 1.4.4)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/v1/fbi_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def index
require 'uri'
require 'net/http'

uri = URI('https://api.fbi.gov/@wanted?pageSize=6&page=1&sort_on=modified&sort_order=desc&person_classification=victim')
uri = URI('https://api.fbi.gov/@wanted?pageSize=100&page=1&sort_on=modified&sort_order=desc&person_classification=victim')
@res = Net::HTTP.get_response(uri)
puts @res.body if @res.is_a?(Net::HTTPSuccess)

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/v1/twitter_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def index
# Twitter
require 'net/http'

uri = URI("https://api.twitter.com/2/tweets/search/recent?query=missing%20person")
uri = URI("https://api.twitter.com/2/tweets/search/recent?query=%22missing+person%22+OR+%22missingkids%22")
@req = Net::HTTP::Get.new(uri)
@req['Authorization'] = "#{Rails.application.credentials.devise[:twitter_secret_key]}"

Expand Down
10 changes: 10 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1