Skip to content

Commit

Permalink
adding ncdp key to data feed api
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight committed Mar 11, 2024
1 parent 524d728 commit a4eb418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/api/v1/data_feed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class DataFeed < Grape::API
{ 'type': ['Theses'], 'degree_level': ['Doctoral'] }
elsif params[:key] == 'masters'
{ 'type': ['Theses'], 'degree_level': ['Master\'s'] }
elsif params[:key] == 'ncdp'
{ 'department': ['National Center for Disaster Preparedness'] }
else
error! 'Feed key invalid', 400
end
Expand Down

0 comments on commit a4eb418

Please sign in to comment.