validateInvite(token: string): string
Returns the id of the inviter when invite token is unused and still in its
window, which is the one after which db/startup.ts purges it. It doesn't
claim the invite: sign-up goes through claimInvite.
validateInvite(token: string): string
Returns the id of the inviter when invite token is unused and still in its
window, which is the one after which db/startup.ts purges it. It doesn't
claim the invite: sign-up goes through claimInvite.
import { validateInvite } from "api/services/invite-service.ts";