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-08-30 23:37:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
39e4b73edbeffd7bcbbf151dcacd41ccad77a4b0
39e4b73e
1 parent
48d10432
update message.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
back/src/api/Message/Message.js
back/src/api/Message/Message.js
View file @
39e4b73
...
...
@@ -4,7 +4,7 @@ export default {
Message
:
{
sender
:
(
parent
)
=>
prisma
.
message
.
findOne
({
where
:
{
id
:
parent
.
id
}
}).
sender
(),
room
:
(
parent
)
=>
prisma
.
message
.
findOne
({
where
:
{
id
:
parent
.
id
}
}).
room
(),
group
:
(
parent
)
=>
prisma
.
message
.
findOne
({
where
:
{
id
:
parent
.
id
}
}).
group
(),
},
};
...
...
Please
register
or
login
to post a comment