MCPcopy
hub / github.com/directus/directus / activate

Function activate

app/src/stores/license.ts:209–212  ·  view source on GitHub ↗
(licenseKey: string)

Source from the content-addressed store, hash-verified

207 }
208
209 async function activate(licenseKey: string) {
210 await sdk.request(activateLicense({ license_key: licenseKey }));
211 await hydrate();
212 }
213
214 async function update(licenseKey: string) {
215 await sdk.request(updateLicense({ license_key: licenseKey }));

Callers

nothing calls this directly

Calls 2

hydrateFunction · 0.70
requestMethod · 0.65

Tested by

no test coverage detected