From 7df2327424e948e54b9731e5ab651e889f38a772 Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 12 Aug 2024 14:00:15 -0700 Subject: Upgrade API, implement XRPC rework (#4857) Co-authored-by: Matthieu Sieben --- jest/test-pds.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jest') diff --git a/jest/test-pds.ts b/jest/test-pds.ts index 2fe623ca9..bfcc970c2 100644 --- a/jest/test-pds.ts +++ b/jest/test-pds.ts @@ -156,7 +156,7 @@ class Mocker { } async createUser(name: string) { - const agent = new BskyAgent({service: this.agent.service}) + const agent = new BskyAgent({service: this.service}) const inviteRes = await agent.api.com.atproto.server.createInviteCode( {useCount: 1}, @@ -332,7 +332,7 @@ class Mocker { } async createInvite(forAccount: string) { - const agent = new BskyAgent({service: this.agent.service}) + const agent = new BskyAgent({service: this.service}) await agent.api.com.atproto.server.createInviteCode( {useCount: 1, forAccount}, { -- cgit 1.4.1