Toggle navigation
Toggle navigation
This project
Loading...
Sign in
송용우
/
oss-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
JJuOn
2020-09-03 17:37:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ec5822e10c34e8e206c1cf3b3fabcb8638e94cc1
ec5822e1
1 parent
2c7c9d21
Fix model/participation.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
jaksimsamil-server/src/models/participation.js
jaksimsamil-server/src/models/participation.js
View file @
ec5822e
...
...
@@ -27,6 +27,7 @@ ParticipationSchema.statics.findByGroupId=function(group){
ParticipationSchema
.
methods
.
addProblem
=
function
(
problem
){
this
.
problems
.
push
({
problemNum
:
problem
.
problemNum
,
isSolved
:
problem
.
isSolved
});
return
this
.
save
();
}
ParticipationSchema
.
methods
.
serialize
=
function
(){
...
...
Please
register
or
login
to post a comment