From ce16b37b97a9a26c4523ff8335e44ea48523d6a6 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:10:44 -0500 Subject: [PATCH] fix: field values request fails (#573) Former-commit-id: 63a966c526de333354b7723953d216c89695b42a --- backend/app/api/handlers/v1/v1_ctrl_items.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/handlers/v1/v1_ctrl_items.go b/backend/app/api/handlers/v1/v1_ctrl_items.go index c6bb1f9..36fab51 100644 --- a/backend/app/api/handlers/v1/v1_ctrl_items.go +++ b/backend/app/api/handlers/v1/v1_ctrl_items.go @@ -231,7 +231,7 @@ func (ctrl *V1Controller) HandleGetAllCustomFieldValues() errchain.HandlerFunc { return ctrl.repo.Items.GetAllCustomFieldValues(auth, auth.GID, q.Field) } - return adapters.Action(fn, http.StatusOK) + return adapters.Query(fn, http.StatusOK) }