diff --git a/gateway/services.go b/gateway/services.go index 32adb20..60b19b8 100644 --- a/gateway/services.go +++ b/gateway/services.go @@ -61,9 +61,9 @@ func (s *ServiceImpl) ExecServices(c context.Context, in *pb.ServiceInput) (*pb. switch temp.Kind() { case reflect.Ptr: NewObj = reflect.New(temp.Elem()) - convertParam(NewObj.Interface(), in.Param) - params[i] = NewObj } + convertParam(NewObj.Interface(), in.Param) + params[i] = NewObj } // Todo Call Service Method