From a4eb418024113c1e706ec88009d6d1a065e2b693 Mon Sep 17 00:00:00 2001 From: JackBlackLight Date: Mon, 11 Mar 2024 10:03:24 -0400 Subject: [PATCH] adding ncdp key to data feed api --- app/api/v1/data_feed.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/v1/data_feed.rb b/app/api/v1/data_feed.rb index 6a494adab..f88be3b81 100644 --- a/app/api/v1/data_feed.rb +++ b/app/api/v1/data_feed.rb @@ -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