Add tests on every platform and fix clippy errors

This commit is contained in:
Clémentine Urquizar 2021-03-22 19:17:18 +01:00
parent d34d7cbc37
commit f80ea24d2b
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
11 changed files with 73 additions and 39 deletions

View file

@ -47,7 +47,7 @@ impl Index<'_> {
update_id as u64
}
pub async fn create<'a>(&'a self, primary_key: Option<&str>) -> (Value, StatusCode) {
pub async fn create(& self, primary_key: Option<&str>) -> (Value, StatusCode) {
let body = json!({
"uid": self.uid,
"primaryKey": primary_key,