mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix cache update
This commit is contained in:
parent
3ccf1d5307
commit
7f43e76a89
@ -527,7 +527,7 @@ export class ApPersonService implements OnModuleInit {
|
||||
|
||||
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.
|
||||
if (!exist.movedToUri && updates.movedToUri) {
|
||||
|
Loading…
Reference in New Issue
Block a user