From d1747579c4b6730e867d716c0ff663397fdb492f Mon Sep 17 00:00:00 2001 From: George Palanjyan Date: Wed, 11 Apr 2018 14:09:04 +0300 Subject: [PATCH] api: fix bugs --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index 0ba2e9c..9f52021 100644 --- a/api/api.go +++ b/api/api.go @@ -175,7 +175,7 @@ func xmlAnalize(methodStruct interface{}, acceptedData* string) (*string, error) } } if el == nil { - el = document.CreateElement(elemName) + document.AddChild(popTmp) } else { el.AddChild(popTmp) }