src/Api/Client.php
public function setUserID()
    {
        $response = $this->get("me");
        $config = SiteConfig::current_site_config();
        $config->HailUserID = $response['id'];
        $this->user_id = $response['id'];
        $config->write();
    }
public function setUserID()
    {
        $response = $this->get("me");
        $config = SiteConfig::current_site_config();
        $config->HailUserID = $response['id'];
        $this->user_id = $response['id'];
        $config->write();
    }
public function setUserID ( ) { $ response = $ this -> get ( "me" ) ; $ config = SiteConfig :: current_site_config ( ) ; $ config -> HailUserID = $ response [ 'id' ] ; $ this -> user_id = $ response [ 'id' ] ; $ config -> write ( ) ; }
Get Hail User ID from the API and set it in the current SiteConfig

@throws
Get Hail User ID from the API and set it in the current SiteConfig