Fix sytest

This commit is contained in:
Till Faelligen 2021-08-28 15:31:21 +02:00
parent a58e04a630
commit c260bbe756

View file

@ -201,7 +201,7 @@ func UploadBackupKeys(
UserID: device.UserID,
Version: version,
Keys: *keys,
}, &performKeyBackupResp); err != nil {
}, &performKeyBackupResp); err != nil && performKeyBackupResp.Error == "" {
return jsonerror.InternalServerError()
}
if performKeyBackupResp.Error != "" {