From 1a30ed0904cec86131a10b2cbb77451c72c73718 Mon Sep 17 00:00:00 2001 From: Tei Im Date: Tue, 16 Jul 2024 13:27:56 -0600 Subject: [PATCH] Remove mismerged code block from graphql helper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Stéphane Loeuillet --- cmd/rpcdaemon/graphql/graph/helpers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/rpcdaemon/graphql/graph/helpers.go b/cmd/rpcdaemon/graphql/graph/helpers.go index 937f591ed3a..77b90c38607 100644 --- a/cmd/rpcdaemon/graphql/graph/helpers.go +++ b/cmd/rpcdaemon/graphql/graph/helpers.go @@ -18,10 +18,6 @@ import ( func convertDataToStringP(abstractMap map[string]interface{}, field string) *string { var result string - if reflect.ValueOf(abstractMap[field]).IsZero() { - return nil - } - switch v := abstractMap[field].(type) { case int64: result = strconv.FormatInt(v, 10)