mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-19 05:26:31 +00:00
Fix typo
This commit is contained in:
parent
f67c98644c
commit
26c0e33ba1
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func (ctrl *V1Controller) GetLocationWithPrice(auth context.Context, GID uuid.UU
|
||||||
totalPriceFloat.Quo(totalPriceFloat, big.NewFloat(100))
|
totalPriceFloat.Quo(totalPriceFloat, big.NewFloat(100))
|
||||||
location.TotalPrice, _ = totalPriceFloat.Float64()
|
location.TotalPrice, _ = totalPriceFloat.Float64()
|
||||||
|
|
||||||
// Add price from child locatinos
|
// Add price from child locations
|
||||||
for _, childLocation := range location.Children {
|
for _, childLocation := range location.Children {
|
||||||
var childLocation, err = ctrl.GetLocationWithPrice(auth, GID, childLocation.ID)
|
var childLocation, err = ctrl.GetLocationWithPrice(auth, GID, childLocation.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue