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-01 13:22:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
837791305333eced4e6254aa8427cadbbfbc3861
83779130
1 parent
0f264b18
remove unnecessary files
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
back/src/api/Chat/sendMessage/sendMessage.graphql
back/src/api/Chat/sendMessage/sendMessage.js
back/src/api/Chat/sendMessage/sendMessage.graphql
deleted
100644 → 0
View file @
0f264b1
type Subscription {
sendMessage: Message
}
back/src/api/Chat/sendMessage/sendMessage.js
deleted
100644 → 0
View file @
0f264b1
import
{
isAuthenticated
,
prisma
}
from
"../../../utils"
;
import
{
NEW_MESSAGE_TOPIC
}
from
"../../../topics"
;
export
default
{
Subscription
:
{
sendMessage
:
{
subscribe
:
async
(
_
,
__
,
{
request
,
pubsub
})
=>
{
pubsub
.
asyncIterator
(
NEW_MESSAGE_TOPIC
);
},
},
},
};
Please
register
or
login
to post a comment