# All values are double

**URL:** <https://discourse.getcockpit.com/t/all-values-are-double/851>\
**Category:** Support\
**Created:** [June 2, 2019, 9:16am UTC](https://discourse.getcockpit.com/t/all-values-are-double/851 "2019-06-02T09:16:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hypothesis-github](https://avatars.discourse-cdn.com/v4/letter/h/9de0a6/32.png) [@Hypothesis-github](https://discourse.getcockpit.com/u/Hypothesis-github)\
**Post date:** [June 2, 2019, 9:16am UTC](https://discourse.getcockpit.com/t/all-values-are-double/851/1 "2019-06-02T09:16:11Z")

</div>

the blow query comes back as x2 the values. for example the actual posts.length is 8 but I get 16 in my console.

```auto
resolve(
  graphql(
    ` {
      allCockpitHello {
        edges {
          node {
            Name {
              value
            }
            cockpitCreated
          }
        }
      }
    }
  `
  ).then(result => {
    if (result.errors) {
      reject(result.errors)
    }

    // Create blog posts pages.
    const posts = result.data.allCockpitHello.edges

```

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [June 3, 2019, 11:45am UTC](https://discourse.getcockpit.com/t/all-values-are-double/851/2 "2019-06-03T11:45:16Z")

</div>

Please provide some more info (e. g. cockpit version, addons) and use a more descriptive title. And please use [fenced code blocks](https://help.github.com/en/articles/creating-and-highlighting-code-blocks). That will increase your chances of receiving an answer.

Other than that, I can’t help here. I never used graphql and I have no idea, what you did before you got doubled results.
