From 1f93aab2ba512375b9c882d666aab10f07c009c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cprajwalp=E2=80=9D?= <“prajwalp@mkcl.org”> Date: Thu, 3 Nov 2022 12:20:29 +0530 Subject: [PATCH] MetaData Frontend change --- errormdl/errorcodemdl.go | 1 + servicebuildermdl/servicebuildermdl.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/errormdl/errorcodemdl.go b/errormdl/errorcodemdl.go index ee113b9..918f111 100644 --- a/errormdl/errorcodemdl.go +++ b/errormdl/errorcodemdl.go @@ -15,6 +15,7 @@ const ( CONDITIONPARSEERROR = 1007 CONDITIONEVALERROR = 1008 NEXTFORMEVALERROR = 1009 + MARSHALERR = 3001 // DB Errors MONGOERROR = 2001 diff --git a/servicebuildermdl/servicebuildermdl.go b/servicebuildermdl/servicebuildermdl.go index 573c7b9..cfc0d6e 100644 --- a/servicebuildermdl/servicebuildermdl.go +++ b/servicebuildermdl/servicebuildermdl.go @@ -119,7 +119,7 @@ type AbstractBusinessLogicHolder struct { Metadata MetaData } type MetaData struct { - Header http.Header + Header http.Header `json:"headers"` } // SetGlobalConfig - SetGlobalConfig -- GitLab