MCPcopy Index your code
hub / github.com/gitify-app/gitify / getPrimaryAccountHostname

Function getPrimaryAccountHostname

src/renderer/utils/auth/utils.ts:346–348  ·  view source on GitHub ↗
(auth: AuthState)

Source from the content-addressed store, hash-verified

344 * @returns The hostname of the first account.
345 */
346export function getPrimaryAccountHostname(auth: AuthState) {
347 return auth.accounts[0]?.hostname ?? Constants.GITHUB_HOSTNAME;
348}
349
350/**
351 * Return true if at least one account is authenticated.

Callers 1

useShortcutActionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected