MCPcopy
hub / github.com/stephengpope/thepopebot / deleteApiKey

Function deleteApiKey

lib/db/api-keys.js:109–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 * Delete all API keys (backwards compat).
108 */
109export function deleteApiKey() {
110 const db = getDb();
111 db.delete(settings).where(eq(settings.type, 'api_key')).run();
112}
113
114/**
115 * Verify a raw API key against stored hashes.

Callers

nothing calls this directly

Calls 1

getDbFunction · 0.90

Tested by

no test coverage detected