Update api nsids

This commit is contained in:
Paul Frazee 2022-10-12 15:18:46 -05:00
parent c9388a3cc5
commit 0c0c9eb05c
72 changed files with 1758 additions and 579 deletions

View file

@ -1,5 +1,5 @@
import {makeAutoObservable, runInAction} from 'mobx'
import * as GetPostThread from '../../third-party/api/src/types/todo/social/getPostThread'
import * as GetPostThread from '../../third-party/api/src/types/app/bsky/getPostThread'
import {AdxUri} from '../../third-party/uri'
import _omit from 'lodash.omit'
import {RootStoreModel} from './root-store'
@ -238,7 +238,7 @@ export class PostThreadViewModel {
private async _load(isRefreshing = false) {
this._xLoading(isRefreshing)
try {
const res = await this.rootStore.api.todo.social.getPostThread(
const res = await this.rootStore.api.app.bsky.getPostThread(
Object.assign({}, this.params, {uri: this.resolvedUri}),
)
this._replaceAll(res)