diff --git a/src/lib/util.ts b/src/lib/util.ts index 2828a8c..2434527 100644 --- a/src/lib/util.ts +++ b/src/lib/util.ts @@ -1,5 +1,6 @@ import { Session } from 'next-auth'; import { ApiKeyEntry } from './db'; +import crypto from 'crypto'; export function sha256sum(input: any) { const hash = crypto.createHash('sha256');