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:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d9fc2d82caeaaa17a49440c6622743bc192b33b1
d9fc2d82
1 parent
a1edbe70
init editProfile
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
back/src/api/User/editProfile/editProfile.graphql
back/src/api/User/editProfile/editProfile.js
back/src/api/User/editProfile/editProfile.graphql
0 → 100644
View file @
d9fc2d8
1
+
type Mutation {
2
+
editProfile(
3
+
name: String
4
+
email: String
5
+
bio: String
6
+
avatarUrl: String
7
+
): User!
8
+
}
back/src/api/User/editProfile/editProfile.js
0 → 100644
View file @
d9fc2d8
1
+
import
{
prisma
}
from
"../../../middlewares"
;
2
+
3
+
export
default
{
4
+
Mutation
:
{
5
+
editProfile
:
async
(
_
,
args
,
{
request
})
=>
{},
6
+
},
7
+
};
Please
register
or
login
to post a comment