fix: update GetLineById method to use 'id' parameter instead of 'line_id'
Deploy Application / deploy (push) Successful in 20s Details

This commit is contained in:
Habib Fatkhul Rohman 2025-12-09 15:56:29 +07:00
parent 360db2526b
commit 472bcd5d3e
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ type inventoryReturnController struct {
// GetLineById implements InventoryReturnController.
func (c *inventoryReturnController) GetLineById(ctx *gin.Context) {
lineId := ctx.Param("line_id")
lineId := ctx.Param("id")
line, err := c.returnService.GetLineById(ctx, lineId)
if err != nil {
res := utils.BuildResponseFailed(dto.MESSAGE_FAILED_GET_INVENTORY_RETURN_LINE, err.Error(), nil)