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
1
-
type Query {
2
-
getUser(id: Int!): User!
3
-
}
back/src/api/User/getUser/getUser.js
deleted
100644 → 0
View file @
d9fc2d8
1
-
import
{
prismaClient
}
from
"../../../middlewares"
;
2
-
3
-
export
default
{
4
-
Query
:
{
5
-
getUser
:
async
(
_
,
args
)
=>
{
6
-
const
{
id
}
=
args
;
7
-
return
prismaClient
.
user
.
findOne
({
8
-
where
:
{
9
-
id
,
10
-
},
11
-
});
12
-
},
13
-
},
14
-
};
Please
register
or
login
to post a comment