fix: use MaxUint32

This commit is contained in:
Derrick Hammer 2024-01-24 12:51:19 -05:00
parent 9b655b4a70
commit 523286df32
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 4 deletions

View File

@ -560,8 +560,8 @@ func (h *HttpHandler) AccountInfo(jc jape.Context) {
Tier: AccountTier{
Id: 1,
Name: "default",
UploadBandwidth: math.MaxUint64,
StorageLimit: math.MaxUint64,
UploadBandwidth: math.MaxUint32,
StorageLimit: math.MaxUint32,
Scopes: []interface{}{},
},
}
@ -581,8 +581,8 @@ func (h *HttpHandler) AccountStats(jc jape.Context) {
Tier: AccountTier{
Id: 1,
Name: "default",
UploadBandwidth: math.MaxUint64,
StorageLimit: math.MaxUint64,
UploadBandwidth: math.MaxUint32,
StorageLimit: math.MaxUint32,
Scopes: []interface{}{},
},
},