feat(GODT-2835): Bump GPA adding support for AsyncAttachments for BugReport +...

This commit is contained in:
Romain Le Jeune
2023-10-03 13:43:16 +00:00
parent 1c344211d1
commit de0b6c0737
13 changed files with 20 additions and 18 deletions

View File

@ -515,7 +515,7 @@ func (user *User) BridgePass() []byte {
}
// UsedSpace returns the total space used by the user on the API.
func (user *User) UsedSpace() int {
func (user *User) UsedSpace() uint64 {
ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(time.Minute))
defer cancel()
@ -528,7 +528,7 @@ func (user *User) UsedSpace() int {
}
// MaxSpace returns the amount of space the user can use on the API.
func (user *User) MaxSpace() int {
func (user *User) MaxSpace() uint64 {
ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(time.Minute))
defer cancel()