mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 05:13:11 -06:00
Return results anyway
This commit is contained in:
parent
d4db450f14
commit
ad0f1ee2ff
|
|
@ -67,7 +67,7 @@ func (s *ServerKeyAPI) FetchKeys(
|
|||
}
|
||||
// If we failed to fetch any keys then we should report an error.
|
||||
if len(requests) > 0 {
|
||||
return nil, fmt.Errorf("server key API failed to fetch %d keys", len(requests))
|
||||
return results, fmt.Errorf("server key API failed to fetch %d keys", len(requests))
|
||||
}
|
||||
// Return the keys.
|
||||
return results, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue