MCPcopy
hub / github.com/futantan/OpenGpt / clientValidateLicenseKey

Function clientValidateLicenseKey

src/utils/lemon.ts:54–61  ·  view source on GitHub ↗
(licenseKey: string)

Source from the content-addressed store, hash-verified

52}
53
54export async function clientValidateLicenseKey(licenseKey: string) {
55 return fetch(`/api/check-license-key?licenseKey=${licenseKey}`, {
56 headers: {
57 'Content-Type': 'application/json',
58 },
59 method: 'GET',
60 }).then((v) => v.json())
61}

Callers 2

PurchaseFunction · 0.90
handleSaveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected