diff options
author | Michael Muré <batolettre@gmail.com> | 2020-01-21 18:49:33 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-08 17:18:30 +0100 |
commit | 8da522d97af3dcaca8a8424e3541705c69779d6f (patch) | |
tree | b67af18d752d3821bcbf62e362f699477eed9245 /identity/common.go | |
parent | b950c2580dfbf7672ee9e5e1e3f5b45c8cbc2788 (diff) | |
download | git-bug-8da522d97af3dcaca8a8424e3541705c69779d6f.tar.gz |
wip
Diffstat (limited to 'identity/common.go')
-rw-r--r-- | identity/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/identity/common.go b/identity/common.go index 007e10d6..0fd2b274 100644 --- a/identity/common.go +++ b/identity/common.go @@ -37,7 +37,7 @@ func UnmarshalJSON(raw json.RawMessage) (Interface, error) { b := &Bare{} err = json.Unmarshal(raw, b) - if err == nil && (b.name != "" || b.login != "") { + if err == nil && b.name != "" { return b, nil } |