From 48d0b35843252322826af37df986b492739807da Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 4 Jan 2024 12:58:17 -0600 Subject: [PATCH] Format --- packages/api/src/agent.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/api/src/agent.ts b/packages/api/src/agent.ts index f9ac6c54ca3..ebbc16723e8 100644 --- a/packages/api/src/agent.ts +++ b/packages/api/src/agent.ts @@ -160,7 +160,11 @@ export class AtpAgent { this.session = session const res = await this.api.com.atproto.server.getSession() if (res.data.did !== this.session.did) { - throw new XRPCError(ResponseType.InvalidRequest, 'Invalid session', 'InvalidDID') + throw new XRPCError( + ResponseType.InvalidRequest, + 'Invalid session', + 'InvalidDID', + ) } this.session.email = res.data.email this.session.handle = res.data.handle