From 18576ecb5c76464c7477cbd893adce23530dd298 Mon Sep 17 00:00:00 2001 From: George J Padayatti Date: Thu, 12 Oct 2023 14:23:45 +0530 Subject: [PATCH] Fix #224: Replace organization with 'z' to 's' in get organisation endpoint response Signed-off-by: George J Padayatti --- src/handlerv2/getorganizationbyid_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlerv2/getorganizationbyid_handler.go b/src/handlerv2/getorganizationbyid_handler.go index b0fd0ef..521b114 100644 --- a/src/handlerv2/getorganizationbyid_handler.go +++ b/src/handlerv2/getorganizationbyid_handler.go @@ -23,7 +23,7 @@ type organizationResp struct { } type getOrgResp struct { - Organization organizationResp `json:"organization"` + Organization organizationResp `json:"organisation"` } // GetOrganizationByID Gets a single organization by given id