diff --git a/src/app.ts b/src/app.ts index cc99474..45c315d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -53,8 +53,6 @@ interface AppEnv extends HonoEnv { pubkey?: string; /** Hex secret key for the current user. Optional, but easiest way to use legacy Mastodon apps. */ seckey?: string; - /** UUID from the access token. Used for WebSocket event signing. */ - session?: string; /** NIP-98 signed event proving the pubkey is owned by the user. */ proof?: Event<27235>; }; diff --git a/src/controllers/api/oauth.ts b/src/controllers/api/oauth.ts index 830f433..e6a9bcc 100644 --- a/src/controllers/api/oauth.ts +++ b/src/controllers/api/oauth.ts @@ -1,4 +1,4 @@ -import { lodash, nip19, uuid62, z } from '@/deps.ts'; +import { lodash, nip19, z } from '@/deps.ts'; import { AppController } from '@/app.ts'; import { nostrNow } from '@/utils.ts'; import { parseBody } from '@/utils/web.ts'; @@ -88,7 +88,7 @@ const oauthController: AppController = (c) => {