Skip to content

Commit

Permalink
fix: ModifyDivision return new division
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Jul 31, 2024
1 parent 1a1d2a6 commit 272b385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/division/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func ModifyDivision(c *fiber.Ctx) error {
return err
}

return Serialize(c, &division)
return Serialize(c, &newDivision)
}

// DeleteDivision
Expand Down

0 comments on commit 272b385

Please sign in to comment.