mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 14:30:39 +01:00
fix cache update
This commit is contained in:
parent
3ccf1d5307
commit
7f43e76a89
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ export class ApPersonService implements OnModuleInit {
|
||||||
|
|
||||||
await this.updateFeatured(exist.id, resolver).catch(err => this.logger.error(err));
|
await this.updateFeatured(exist.id, resolver).catch(err => this.logger.error(err));
|
||||||
|
|
||||||
this.cacheService.uriPersonCache.set(uri, Object.assign(exist, updates));
|
this.cacheService.uriPersonCache.set(uri, { ...exist, ...updates });
|
||||||
|
|
||||||
// Copy blocking and muting if we know its moving for the first time.
|
// Copy blocking and muting if we know its moving for the first time.
|
||||||
if (!exist.movedToUri && updates.movedToUri) {
|
if (!exist.movedToUri && updates.movedToUri) {
|
||||||
|
|
Loading…
Reference in a new issue