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-04-14 03:04:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d34d079a3a3e619741f377e57cfe830ac68f72ae
d34d079a
1 parent
75891034
init sendMessage
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
back/src/api/Chat/sendMessage/sendMessage.graphql
back/src/api/Chat/sendMessage/sendMessage.js
back/src/api/Chat/sendMessage/sendMessage.graphql
0 → 100644
View file @
d34d079
type Subscription {
sendMessage(message: String!): Message!
}
back/src/api/Chat/sendMessage/sendMessage.js
0 → 100644
View file @
d34d079
import
{
prisma
}
from
"../../../middlewares"
;
export
default
{
Subscription
:
{
sendMessage
:
async
(
_
,
args
)
=>
{
const
{
message
}
=
args
;
},
},
};
Please
register
or
login
to post a comment