aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-08 19:05:34 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-08 19:05:34 +0200
commitb8e9e581b193d32684c685aa73a6890385f879c3 (patch)
tree770a6a020eb2a2dd1ff6e39909b07c3b74637d67 /webui/src
parentca4c829ed0416f146d890fc11b2c3c07104c13d2 (diff)
downloadgit-bug-b8e9e581b193d32684c685aa73a6890385f879c3.tar.gz
webui: fix graphql queries
Diffstat (limited to 'webui/src')
-rw-r--r--webui/src/Bug.js2
-rw-r--r--webui/src/ListPage.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/Bug.js b/webui/src/Bug.js
index f8699fc4..bca23e58 100644
--- a/webui/src/Bug.js
+++ b/webui/src/Bug.js
@@ -26,7 +26,7 @@ const Bug = ({ bug, classes }) => (
Bug.fragment = gql`
fragment Bug on Bug {
...BugSummary
- comments(input: { first: 10 }) {
+ comments(first: 10) {
edges {
cursor
node {
diff --git a/webui/src/ListPage.js b/webui/src/ListPage.js
index 836acda5..ed56e553 100644
--- a/webui/src/ListPage.js
+++ b/webui/src/ListPage.js
@@ -10,7 +10,7 @@ import BugSummary from "./BugSummary";
const QUERY = gql`
{
defaultRepository {
- bugs: allBugs(input: { first: 10 }) {
+ bugs: allBugs(first: 10) {
edges {
cursor
node {