build script, artifact, fix rust

This commit is contained in:
DieMyst 2020-12-23 12:08:57 +03:00
parent f31f3de42d
commit 888d7a8937
3 changed files with 3 additions and 1 deletions

Binary file not shown.

2
build.sh Executable file
View File

@ -0,0 +1,2 @@
fce build
cp target/wasm32-wasi/debug/rbac.wasm artifacts/

View File

@ -52,7 +52,7 @@ pub fn get_status(peer_id: String) -> Status {
match data.get(peer_id.as_str()) {
None => {
Status {
is_registered: true
is_registered: false
}
}
Some(status) => status.clone()