GitBook: [main] 53 pages modified

This commit is contained in:
boneyard93501 2021-06-11 07:33:09 +00:00 committed by gitbook-bot
parent f7b0e7a703
commit 170d601cf4
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -207,7 +207,6 @@ CallParameters are especially useful in constructing authentication services:
// auth.rs
use fluence::{marine, CallParameters};
use::marine;
use crate::get_connection;
pub fn is_owner() -> bool {
let meta = marine::get_call_parameters();
@ -217,7 +216,7 @@ pub fn is_owner() -> bool {
caller == owner
}
#[fce]
#[marine]
pub fn am_i_owner() -> bool {
is_owner()
}