Update api nsids

This commit is contained in:
Paul Frazee
2022-10-12 15:18:46 -05:00
parent 4b8795bfea
commit ed86125d87
72 changed files with 1758 additions and 579 deletions
+2 -2
View File
@@ -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
})