mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Fix sytest
This commit is contained in:
parent
a58e04a630
commit
c260bbe756
|
|
@ -201,7 +201,7 @@ func UploadBackupKeys(
|
||||||
UserID: device.UserID,
|
UserID: device.UserID,
|
||||||
Version: version,
|
Version: version,
|
||||||
Keys: *keys,
|
Keys: *keys,
|
||||||
}, &performKeyBackupResp); err != nil {
|
}, &performKeyBackupResp); err != nil && performKeyBackupResp.Error == "" {
|
||||||
return jsonerror.InternalServerError()
|
return jsonerror.InternalServerError()
|
||||||
}
|
}
|
||||||
if performKeyBackupResp.Error != "" {
|
if performKeyBackupResp.Error != "" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue