Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-21 03:50:12 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e023b589eff56c7ba5c220f394c323cd678f22b
4e023b58
1 parent
52055e8e
update getRooms query
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
front/src/Routes/Room/RoomQueries.js
front/src/Routes/Room/RoomQueries.js
View file @
4e023b5
1
import
{
gql
}
from
"apollo-boost"
;
1
import
{
gql
}
from
"apollo-boost"
;
2
2
3
export
const
GET_ROOMS
=
gql
`
3
export
const
GET_ROOMS
=
gql
`
4
-
query getRooms
{
4
+
{
5
getRooms {
5
getRooms {
6
+
id
6
name
7
name
7
}
8
}
8
}
9
}
...
...
Please
register
or
login
to post a comment