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:05:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dbc3e61980085dfb16dd1306f182c56ad68e8e0d
dbc3e619
1 parent
d9fc2d82
remove getUser
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
back/src/api/User/getUser/getUser.graphql
back/src/api/User/getUser/getUser.js
back/src/api/User/getUser/getUser.graphql
deleted
100644 → 0
View file @
d9fc2d8
type Query {
getUser(id: Int!): User!
}
back/src/api/User/getUser/getUser.js
deleted
100644 → 0
View file @
d9fc2d8
import
{
prismaClient
}
from
"../../../middlewares"
;
export
default
{
Query
:
{
getUser
:
async
(
_
,
args
)
=>
{
const
{
id
}
=
args
;
return
prismaClient
.
user
.
findOne
({
where
:
{
id
,
},
});
},
},
};
Please
register
or
login
to post a comment