diff options
Diffstat (limited to 'src/state/models/reposted-by-view.ts')
-rw-r--r-- | src/state/models/reposted-by-view.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/reposted-by-view.ts b/src/state/models/reposted-by-view.ts index 9b5b2ff51..2c8dcc17b 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 {AdxUri} from '../../third-party/uri' -import * as GetRepostedBy from '../../third-party/api/src/types/todo/social/getRepostedBy' +import * as GetRepostedBy from '../../third-party/api/src/types/app/bsky/getRepostedBy' import {RootStoreModel} from './root-store' type RepostedByItem = GetRepostedBy.OutputSchema['repostedBy'][number] @@ -113,7 +113,7 @@ export class RepostedByViewModel { private async _fetch(isRefreshing = false) { this._xLoading(isRefreshing) try { - const res = await this.rootStore.api.todo.social.getRepostedBy( + const res = await this.rootStore.api.app.bsky.getRepostedBy( Object.assign({}, this.params, {uri: this.resolvedUri}), ) this._replaceAll(res) |