Skip to content

Commit ad5e03e

Browse files
committed
respond with dtoPostions
1 parent 915f858 commit ad5e03e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/handlers/board.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func (h *BoardHandler) GetPositions(c *gin.Context) {
396396
for i, pos := range positions {
397397
dtoPositions[i] = dto.PositionDomainToDto(&pos)
398398
}
399-
c.JSON(http.StatusOK, positions)
399+
c.JSON(http.StatusOK, dtoPositions)
400400
}
401401

402402
// GetPosition godoc

0 commit comments

Comments
 (0)