Invalidate profiles cache on direct load
This commit is contained in:
@@ -41,4 +41,10 @@ export class ProfilesViewModel {
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
overwrite(did: string, res: GetProfile.Response) {
|
||||
if (this.cache.has(did)) {
|
||||
this.cache.set(did, res)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user