Function get_hooks

Source
pub async fn get_hooks(
    con: MultiplexedConnection,
    account_id: &str,
) -> Result<Vec<Hook>, RedisError>
Expand description

Retrieves all hooks for an account.

§Arguments

  • con - Redis connection
  • account_id - Account ID to get hooks for

§Returns

  • Result<Vec<Hook>, RedisError> - List of hooks or an error