From 0e313351248e01096078dbd7cebce0ab824630ee Mon Sep 17 00:00:00 2001 From: briri Date: Tue, 10 Aug 2021 08:27:39 -0700 Subject: [PATCH] fix for issue with api v0 after dropping the old grant_number field from plans --- app/views/api/v0/plans/index.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/v0/plans/index.json.jbuilder b/app/views/api/v0/plans/index.json.jbuilder index a2f2aec735..516c9ef98d 100644 --- a/app/views/api/v0/plans/index.json.jbuilder +++ b/app/views/api/v0/plans/index.json.jbuilder @@ -8,7 +8,7 @@ json.prettify! json.array! @plans.each do |plan| json.id plan.id json.title plan.title - json.grant_number plan.grant_number + json.grant_number plan.grant&.value json.last_updated plan.updated_at json.creation_date plan.created_at json.test_plan plan.is_test?