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/post.ts | |
parent | c9388a3cc536d1c276d5b83c0378371356bd594c (diff) | |
download | voidsky-0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b.tar.zst |
Update api nsids
Diffstat (limited to 'src/state/models/post.ts')
-rw-r--r-- | src/state/models/post.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/post.ts b/src/state/models/post.ts index 73708311f..3f7e9b3cf 100644 --- a/src/state/models/post.ts +++ b/src/state/models/post.ts @@ -1,5 +1,5 @@ import {makeAutoObservable} from 'mobx' -import * as Post from '../../third-party/api/src/types/todo/social/post' +import * as Post from '../../third-party/api/src/types/app/bsky/post' import {AdxUri} from '../../third-party/uri' import {RootStoreModel} from './root-store' @@ -77,7 +77,7 @@ export class PostModel implements RemoveIndex<Post.Record> { this._xLoading() try { const urip = new AdxUri(this.uri) - const res = await this.rootStore.api.todo.social.post.get({ + const res = await this.rootStore.api.app.bsky.post.get({ nameOrDid: urip.host, tid: urip.recordKey, }) |