Function junobuild_shared::controllers::caller_is_observatory

source ·
pub fn caller_is_observatory(caller: UserId) -> bool
Expand description

Checks if the caller is the observatory.

§Arguments

  • caller: UserId of the caller.

§Returns

true if the caller matches the observatory’s principal, otherwise false.