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/profile-view.ts | |
parent | c9388a3cc536d1c276d5b83c0378371356bd594c (diff) | |
download | voidsky-0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b.tar.zst |
Update api nsids
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r-- | src/state/models/profile-view.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state/models/profile-view.ts b/src/state/models/profile-view.ts index aa0040d65..db7fe407a 100644 --- a/src/state/models/profile-view.ts +++ b/src/state/models/profile-view.ts @@ -1,6 +1,6 @@ import {makeAutoObservable, runInAction} from 'mobx' -import * as GetProfile from '../../third-party/api/src/types/todo/social/getProfile' -import * as Profile from '../../third-party/api/src/types/todo/social/profile' +import * as GetProfile from '../../third-party/api/src/types/app/bsky/getProfile' +import * as Profile from '../../third-party/api/src/types/app/bsky/profile' import {RootStoreModel} from './root-store' import * as apilib from '../lib/api' @@ -118,7 +118,7 @@ export class ProfileViewModel { private async _load(isRefreshing = false) { this._xLoading(isRefreshing) try { - const res = await this.rootStore.api.todo.social.getProfile(this.params) + const res = await this.rootStore.api.app.bsky.getProfile(this.params) this._replaceAll(res) this._xIdle() } catch (e: any) { |