Skip to content

Commit f779fe8

Browse files
committed
rename to crew_id for launch crew array
1 parent 13a43fe commit f779fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/v4/launches/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const launchSchema = new mongoose.Schema({
118118
}],
119119
crew: [{
120120
_id: false,
121-
crew: {
121+
crew_id: {
122122
type: mongoose.ObjectId,
123123
ref: 'Crew',
124124
},

0 commit comments

Comments
 (0)