Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Commit 690afdf

Browse files
author
Alex Agile
authored
Merge pull request #7 from Werkspot/JCB_add_missing_argument_to_teamWidgetSprints
Add missing teamId argument to teamWidgetSprints query
2 parents ab5454d + c20dc2e commit 690afdf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/graphql/schema/Query.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ Query:
1010
)
1111
teamWidgetSprints:
1212
type: "[Sprint]"
13+
args:
14+
teamId:
15+
type: String!
1316
resolve: >
1417
@=service("League\\Tactician\\CommandBus").handle(
15-
newObject("Werkspot\\JiraDashboard\\TeamWidget\\Domain\\GetSprintsQuery")
18+
newObject("Werkspot\\JiraDashboard\\TeamWidget\\Domain\\GetSprintsQuery", [
19+
args["teamId"]
20+
])
1621
)
1722
1823
sprintWidget:

0 commit comments

Comments
 (0)