diff --git a/src/state/models/cache/my-follows.ts b/src/state/models/cache/my-follows.ts index 14dc9895db..07079b5afa 100644 --- a/src/state/models/cache/my-follows.ts +++ b/src/state/models/cache/my-follows.ts @@ -102,8 +102,8 @@ export class MyFollowsCache { getFollowUri(did: string): string { const v = this.byDid[did] - if (typeof v === 'string') { - return v + if (v && typeof v.followRecordUri === 'string') { + return v.followRecordUri } throw new Error('Not a followed user') }