add paper weight
This commit is contained in:
@@ -136,6 +136,7 @@ func (rc *configController) PaperHandler(ctx *gin.Context) {
|
||||
paper.Name = newPaper.Name
|
||||
paper.Brand = newPaper.Brand
|
||||
paper.Size = newPaper.Size
|
||||
paper.Weight = newPaper.Weight
|
||||
paper.Price = newPaper.Price
|
||||
paper, err = repositories.Papers.Update(paper)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user