about summary refs log tree commit diff
path: root/src/state/models/profiles-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/profiles-view.ts')
-rw-r--r--src/state/models/profiles-view.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/profiles-view.ts b/src/state/models/profiles-view.ts
index 4241e50e1..30e6d0442 100644
--- a/src/state/models/profiles-view.ts
+++ b/src/state/models/profiles-view.ts
@@ -31,7 +31,7 @@ export class ProfilesViewModel {
       }
     }
     try {
-      const promise = this.rootStore.api.app.bsky.actor.getProfile({
+      const promise = this.rootStore.agent.getProfile({
         actor: did,
       })
       this.cache.set(did, promise)