about summary refs log tree commit diff
path: root/src/state/models/reposted-by-view.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-04 17:39:54 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-11-04 17:39:54 -0500
commitf333a90fab79d582bbb7f9114f0b005fdb1cae8b (patch)
tree631755be2dd6976e9d0efd90f33751c52a09ef37 /src/state/models/reposted-by-view.ts
parent8ae6e67eea8890f639dbaa9423e99cad5e28502f (diff)
downloadvoidsky-f333a90fab79d582bbb7f9114f0b005fdb1cae8b.tar.zst
Update to the latest APIs
Diffstat (limited to 'src/state/models/reposted-by-view.ts')
-rw-r--r--src/state/models/reposted-by-view.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state/models/reposted-by-view.ts b/src/state/models/reposted-by-view.ts
index 507a8bbba..2911ae7ef 100644
--- a/src/state/models/reposted-by-view.ts
+++ b/src/state/models/reposted-by-view.ts
@@ -1,6 +1,6 @@
 import {makeAutoObservable, runInAction} from 'mobx'
 import {AtUri} from '../../third-party/uri'
-import * as GetRepostedBy from '../../third-party/api/src/types/app/bsky/getRepostedBy'
+import * as GetRepostedBy from '../../third-party/api/src/client/types/app/bsky/feed/getRepostedBy'
 import {RootStoreModel} from './root-store'
 
 type RepostedByItem = GetRepostedBy.OutputSchema['repostedBy'][number]
@@ -11,7 +11,7 @@ export class RepostedByViewItemModel implements RepostedByItem {
 
   // data
   did: string = ''
-  name: string = ''
+  handle: string = ''
   displayName: string = ''
   createdAt?: string
   indexedAt: string = ''
@@ -113,7 +113,7 @@ export class RepostedByViewModel {
   private async _fetch(isRefreshing = false) {
     this._xLoading(isRefreshing)
     try {
-      const res = await this.rootStore.api.app.bsky.getRepostedBy(
+      const res = await this.rootStore.api.app.bsky.feed.getRepostedBy(
         Object.assign({}, this.params, {uri: this.resolvedUri}),
       )
       this._replaceAll(res)