Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getByUsername (0.25 sec)

  1. .github/workflows/trusted_partners.js

      @return {string} Return the domain name of the user's email. Empty string if not found
    */
    
    const get_email_domain = async ({github, username}) => {
      const user = await github.rest.users.getByUsername({
        username
      });
      if (user.status >= 400) {
        console.log(user);
        throw `Error Getting user data for ${username}`;
      }
      const email = user.data.email;
      let domain = "";
    JavaScript
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top