getUserId

Retrieve the user_id for a given connection type

function getUserId(connection: Connections): Promise<GetUserId>
  • connection: Connections ➡ An ENUM from the Connections class signifying the connection get user_id for.

returns

  • Promise<GetUserId>