fix(GODT-2989): allow to send bug report when no account connected.
This commit is contained in:
parent
52addb2582
commit
48d1ca1e72
|
@ -34,7 +34,7 @@ const (
|
|||
)
|
||||
|
||||
func (bridge *Bridge) ReportBug(ctx context.Context, osType, osVersion, title, description, username, email, client string, attachLogs bool) error {
|
||||
var account string
|
||||
var account = username
|
||||
|
||||
if info, err := bridge.QueryUserInfo(username); err == nil {
|
||||
account = info.Username
|
||||
|
|
Loading…
Reference in New Issue