diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-10-12 15:18:46 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-10-12 15:18:46 -0500 |
commit | 0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b (patch) | |
tree | da63a58031966622e6146e5e0f371914d717bb2b /src/state/models/reposted-by-view.ts | |
parent | c9388a3cc536d1c276d5b83c0378371356bd594c (diff) | |
download | voidsky-0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b.tar.zst |
Update api nsids
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) |