From 57b6f2a7b4f850f1ae84f85d5e14478eee8e8435 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 27 Feb 2022 20:55:55 -0800 Subject: [PATCH] Add back render call --- app/controllers/api/v1/parties_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/parties_controller.rb b/app/controllers/api/v1/parties_controller.rb index 150c6fa..87491d6 100644 --- a/app/controllers/api/v1/parties_controller.rb +++ b/app/controllers/api/v1/parties_controller.rb @@ -12,7 +12,7 @@ class Api::V1::PartiesController < Api::V1::ApiController conditions[:created_at] = start_time..now unless request.params['recency'].blank? @parties = Party.where(conditions) - + render :all, status: :ok end def create