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

@ -78,7 +78,7 @@ func (bridge *Bridge) ReportBug(ctx context.Context, osType, osVersion, title, d
}
}, bridge.usersLock)
return bridge.api.ReportBug(ctx, proton.ReportBugReq{
_, err := bridge.api.ReportBug(ctx, proton.ReportBugReq{
OS: osType,
OSVersion: osVersion,
@ -92,4 +92,6 @@ func (bridge *Bridge) ReportBug(ctx context.Context, osType, osVersion, title, d
Username: account,
Email: email,
}, attachment...)
return err
}

View File

@ -68,10 +68,10 @@ type UserInfo struct {
BridgePass []byte
// UsedSpace is the amount of space used by the user.
UsedSpace int
UsedSpace uint64
// MaxSpace is the total amount of space available to the user.
MaxSpace int
MaxSpace uint64
}
// GetUserIDs returns the IDs of all known users (authorized or not).