Skip to content

Commit

Permalink
bring naming in line with other endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
SyniRon committed Jan 19, 2025
1 parent 0e0509a commit d491b67
Show file tree
Hide file tree
Showing 4 changed files with 272 additions and 287 deletions.
9 changes: 4 additions & 5 deletions datastores/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,16 +526,15 @@ func (ds Mysql) FindAllPositionGroups() ([]*proto.PositionGroup, error) {
PositionId: pos.PositionId,
PositionTitle: pos.PositionTitle,
PositionDisplayOrder: uint32(pos.DisplayOrder),
PositionGroupId: group.PositionGroupId,
PositionPossibleSecondary: pos.PossibleSecondary,
}
}

protoGroups[i] = &proto.PositionGroup{
GroupId: group.PositionGroupId,
Title: group.Title,
DisplayOrder: uint32(group.DisplayOrder),
Positions: protoPositions,
GroupId: group.PositionGroupId,
GroupTitle: group.Title,
GroupDisplayOrder: uint32(group.DisplayOrder),
Positions: protoPositions,
}
}

Expand Down
Loading

0 comments on commit d491b67

Please sign in to comment.