d4x1 commented on code in PR #5727:
URL: 
https://github.com/apache/incubator-devlake/pull/5727#discussion_r1271683769


##########
backend/core/models/project.go:
##########
@@ -62,8 +62,8 @@ type ApiInputProject struct {
 }
 
 type ApiOutputProject struct {
-       BaseProject    `mapstructure:",squash"`
-       Metrics        *[]BaseMetric `json:"metrics" mapstructure:"metrics"`
-       Blueprint      *Blueprint    `json:"blueprint" mapstructure:"blueprint"`
-       LatestPipeLine *Pipeline     `json:"latest_pipeline,omitempty" 
mapstructure:"latest_pipeline"`
+       Project      `mapstructure:",squash"`
+       Metrics      *[]BaseMetric `json:"metrics" mapstructure:"metrics"`

Review Comment:
   @klesh 
   I think it's not a correct usage(but it is not introduced in the current PR 
). I'will fix it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to