Skip to content

Commit

Permalink
Remove mismerged code block from graphql helper
Browse files Browse the repository at this point in the history
Co-Authored-By: Stéphane Loeuillet <stephane.loeuillet@kaiko.com>
  • Loading branch information
ImTei and SLoeuillet committed Jul 16, 2024
1 parent 2f002f3 commit 1a30ed0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/rpcdaemon/graphql/graph/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1a30ed0

Please sign in to comment.