Increased MaxSpace int size (#80)

* Increased MaxSpace int size

This change prevents errors when python smtplib calls hydroxide.

* Updated UsedSpace to int64

To prevent errors when numbers exceed 32 bit capacity.
This commit is contained in:
Harley Lang 2020-01-04 09:33:23 -08:00 committed by Simon Ser
parent 897ec17f53
commit f7b1ac9d6e
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ import (
type User struct {
ID string
Name string
UsedSpace int
UsedSpace int64
Currency string // e.g. EUR
Credit int
MaxSpace int
MaxSpace int64
MaxUpload int
Role int // TODO
Private int