Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정나리
/
Jaksimsamil
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
송용우
2020-06-23 13:56:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
77eeeb807fc7d8b7245c6fe86f24c160c828a627
77eeeb80
1 parent
26a66717
Update Profile Schema
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
jaksimsamil-server/src/models/profile.js
jaksimsamil-server/src/models/profile.js
View file @
77eeeb8
...
...
@@ -7,6 +7,7 @@ const ProfileSchema = new Schema({
userBJID
:
String
,
solvedBJ
:
Object
,
friendList
:
[
String
],
slackWebHookURL
:
String
,
});
ProfileSchema
.
statics
.
findByUsername
=
function
(
username
)
{
return
this
.
findOne
({
username
});
...
...
Please
register
or
login
to post a comment