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

Function saveLicenseKey

src/utils/localData.ts:1–3  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

1export const saveLicenseKey = (key: string) => {
2 localStorage.setItem('opengpt-licenseKey', key)
3}
4
5export const loadLicenseKey = () => {
6 return localStorage.getItem('opengpt-licenseKey') || ''

Callers 3

PurchaseFunction · 0.90
handleClearFunction · 0.90
handleSaveFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected