MCPcopy Create free account
hub / github.com/Noumena-Network/code / shouldCheckForPasses

Function shouldCheckForPasses

src/services/api/referral.ts:90–92  ·  view source on GitHub ↗

* Prechecks for if user can access guest passes feature

()

Source from the content-addressed store, hash-verified

88 * Prechecks for if user can access guest passes feature
89 */
90function shouldCheckForPasses(): boolean {
91 return shouldCheckForPassesForSession(getAuthRuntime().getCurrentSession())
92}
93
94/**
95 * Check cached passes eligibility from GlobalConfig

Callers 2

Calls 3

getAuthRuntimeFunction · 0.85
getCurrentSessionMethod · 0.65

Tested by

no test coverage detected