fix: use MaxUint32
This commit is contained in:
parent
9b655b4a70
commit
523286df32
|
@ -560,8 +560,8 @@ func (h *HttpHandler) AccountInfo(jc jape.Context) {
|
||||||
Tier: AccountTier{
|
Tier: AccountTier{
|
||||||
Id: 1,
|
Id: 1,
|
||||||
Name: "default",
|
Name: "default",
|
||||||
UploadBandwidth: math.MaxUint64,
|
UploadBandwidth: math.MaxUint32,
|
||||||
StorageLimit: math.MaxUint64,
|
StorageLimit: math.MaxUint32,
|
||||||
Scopes: []interface{}{},
|
Scopes: []interface{}{},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -581,8 +581,8 @@ func (h *HttpHandler) AccountStats(jc jape.Context) {
|
||||||
Tier: AccountTier{
|
Tier: AccountTier{
|
||||||
Id: 1,
|
Id: 1,
|
||||||
Name: "default",
|
Name: "default",
|
||||||
UploadBandwidth: math.MaxUint64,
|
UploadBandwidth: math.MaxUint32,
|
||||||
StorageLimit: math.MaxUint64,
|
StorageLimit: math.MaxUint32,
|
||||||
Scopes: []interface{}{},
|
Scopes: []interface{}{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue