aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/utils.rs')
-rw-r--r--backend/src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/utils.rs b/backend/src/utils.rs
index 8ebc3ee..86ac5c1 100644
--- a/backend/src/utils.rs
+++ b/backend/src/utils.rs
@@ -55,7 +55,7 @@ pub fn parse_post(orig: &str) -> Result<HashMap<String, String>, RequestError> {
Err(RequestError::BadRequest.into())
}
}).collect();
- Ok(HashMap::from_iter(vals?))
+ Ok(HashMap::from_iter(try!(vals)))
}
pub fn uuid() -> String {