function createInvite
createInvite(inviterId: string): string

Makes an invite from inviterId and returns its token, which the client puts in the invite link.

Parameters

inviterId: string

Return Type

string

Usage

import { createInvite } from "api/services/invite-service.ts";