Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
pub
yapi
Commits
8e1f6546
Unverified
Commit
8e1f6546
authored
4 years ago
by
sean1025
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1331 from LiPinghai/hotfix
fix: 排重follow project时使用_id的错误
parents
144a9167
c793adff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
server/controllers/project.js
server/controllers/project.js
+1
-0
No files found.
server/controllers/project.js
View file @
8e1f6546
...
...
@@ -590,6 +590,7 @@ class projectController extends baseController {
}
else
{
follow
=
follow
.
map
(
item
=>
{
item
=
item
.
toObject
();
item
.
_id
=
item
.
projectid
item
.
follow
=
true
;
return
item
;
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment