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-06-01 17:05:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
81d693438b3dd8e67a7daefac47486362f102999
81d69343
1 parent
4c867164
change subMessage return value
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
front/src/Routes/Chat/ChatQueries.js
front/src/Routes/Chat/ChatQueries.js
View file @
81d6934
import
{
gql
}
from
"apollo-boost"
;
export
const
SUBSCRIPTION_MSG
=
gql
`
subscription
subMessage
{
subscription {
subMessage {
id
text
room {
id
name
}
sender {
id
username
avatarUrl
}
createdAt
}
...
...
Please
register
or
login
to post a comment