diff --git a/src/storage/replicated.rs b/src/storage/replicated.rs index 6c93b3d..570905f 100644 --- a/src/storage/replicated.rs +++ b/src/storage/replicated.rs @@ -27,7 +27,7 @@ where let pres = pfut.await; let sres = sfut.await; - pres.or(sres) + pres.ok().or(sres.ok()).ok_or(()) }) }