1
0
mirror of https://github.com/fluencelabs/gitbook-docs synced 2025-06-19 09:51:32 +00:00

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

@ -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()
}