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-24 23:08:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
278e338942755d894fd29693d05cf271fb95a92a
278e3389
1 parent
41a03269
remove comments
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
back/src/api/Chat/newMessage/newMessage.js
back/src/api/Chat/newMessage/newMessage.js
View file @
278e338
import
{
isAuthenticated
,
prisma
}
from
"../../../utils"
;
import
{
ONE_TO_ONE_MESSAGE
}
from
"../../../topics"
;
// newMessage 에서는 1:1, 1:n 메시지 방만 가정하고 있음
// 나머지 랜덤채팅은 아직 구상중 (5/4) 기준
export
default
{
Mutation
:
{
newMessage
:
async
(
_
,
args
,
{
request
,
pubsub
})
=>
{
...
...
Please
register
or
login
to post a comment