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/user-follows-view.ts | |
parent | c9388a3cc536d1c276d5b83c0378371356bd594c (diff) | |
download | voidsky-0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b.tar.zst |
Update api nsids
Diffstat (limited to 'src/state/models/user-follows-view.ts')
-rw-r--r-- | src/state/models/user-follows-view.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/state/models/user-follows-view.ts b/src/state/models/user-follows-view.ts index d92effc0c..92f9b4bc4 100644 --- a/src/state/models/user-follows-view.ts +++ b/src/state/models/user-follows-view.ts @@ -1,5 +1,5 @@ import {makeAutoObservable} from 'mobx' -import * as GetUserFollows from '../../third-party/api/src/types/todo/social/getUserFollows' +import * as GetUserFollows from '../../third-party/api/src/types/app/bsky/getUserFollows' import {RootStoreModel} from './root-store' type Subject = GetUserFollows.OutputSchema['subject'] @@ -83,9 +83,7 @@ export class UserFollowsViewModel { private async _fetch(isRefreshing = false) { this._xLoading(isRefreshing) try { - const res = await this.rootStore.api.todo.social.getUserFollows( - this.params, - ) + const res = await this.rootStore.api.app.bsky.getUserFollows(this.params) this._replaceAll(res) this._xIdle() } catch (e: any) { |