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-27 21:05:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0483f7e2c41467afeb5e11e3834f3c1f22e6a11
a0483f7e
1 parent
e5a2c124
fix error syntax
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
back/src/api/Room/getRoomByName/getRoomByName.js
back/src/api/Room/getRoomByName/getRoomByName.js
View file @
a0483f7
import
{
prisma
,
isAuthenticated
}
from
"../../../utils"
;
export
default
()
=>
{
export
default
{
Query
:
{
getRoomByName
:
async
(
_
,
args
,
{
request
})
=>
{
isAuthenticated
(
request
);
...
...
@@ -10,6 +10,6 @@ export default () => {
name
:
roomName
,
},
});
}
;
}
}
,
}
,
};
...
...
Please
register
or
login
to post a comment