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/me.ts | |
parent | c9388a3cc536d1c276d5b83c0378371356bd594c (diff) | |
download | voidsky-0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b.tar.zst |
Update api nsids
Diffstat (limited to 'src/state/models/me.ts')
-rw-r--r-- | src/state/models/me.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index 9e0c897ed..333cf5626 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -25,7 +25,7 @@ export class MeModel { if (sess.isAuthed && sess.data) { this.did = sess.data.userdid || '' this.name = sess.data.username - const profile = await this.rootStore.api.todo.social.getProfile({ + const profile = await this.rootStore.api.app.bsky.getProfile({ user: this.did, }) runInAction(() => { @@ -43,7 +43,7 @@ export class MeModel { } async fetchStateUpdate() { - const res = await this.rootStore.api.todo.social.getNotificationCount({}) + const res = await this.rootStore.api.app.bsky.getNotificationCount({}) runInAction(() => { this.notificationCount = res.data.count }) |