diff options
Diffstat (limited to 'src/state/models/cache/my-follows.ts')
-rw-r--r-- | src/state/models/cache/my-follows.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/cache/my-follows.ts b/src/state/models/cache/my-follows.ts index 14dc9895d..07079b5af 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') } |