Skip to content

Commit

Permalink
update native approval logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenShen committed Mar 28, 2024
1 parent 505e9dc commit dafc389
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func GetReleasePlan(id string) (*models.ReleasePlan, error) {
releasePlan.Approval.NativeApproval.DetailedApproveUsers = approvalUsers
}

return mongodb.NewReleasePlanColl().GetByID(context.Background(), id)
return releasePlan, nil
}

func GetReleasePlanLogs(id string) ([]*models.ReleasePlanLog, error) {
Expand Down

0 comments on commit dafc389

Please sign in to comment.