Node API v2 (#3094)

* Node API v2

* Update gitignore

* Add get_pmmr_indices method

* Add Foreign and Owner API each one with specific secret

* Fix failing tests

* Revert to 'Option<u64>'
This commit is contained in:
Quentin Le Sceller
2019-12-06 11:57:53 +01:00
committed by Antioch Peverell
parent 8b8f0a0abd
commit cdb2d6c72c
30 changed files with 2737 additions and 69 deletions
+2
View File
@@ -42,6 +42,8 @@ where
ErrorKind::ResponseError(msg) => {
response(StatusCode::INTERNAL_SERVER_ERROR, msg.clone())
}
// place holder
ErrorKind::Router(_) => response(StatusCode::INTERNAL_SERVER_ERROR, ""),
},
}
}