Skip to content

Commit

Permalink
feat: correct milestone by solution id store method
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenWadeOddball committed Dec 10, 2024
1 parent 9b12562 commit 91bd8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/mto_milestone.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func MTOMilestoneGetByID(np sqlutils.NamedPreparer, _ *zap.Logger, id uuid.UUID)

func MTOMilestoneGetBySolutionIDLoader(np sqlutils.NamedPreparer, _ *zap.Logger, solutionIDs []uuid.UUID) ([]*models.MTOMilestoneWithSolutionID, error) {

arg := map[string]interface{}{"solution_ids": solutionIDs}
arg := map[string]interface{}{"solution_ids": pq.Array(solutionIDs)}

returned, err := sqlutils.SelectProcedure[models.MTOMilestoneWithSolutionID](np, sqlqueries.MTOMilestone.GetBySolutionIDLoader, arg)
if err != nil {
Expand Down

0 comments on commit 91bd8af

Please sign in to comment.