refactor: rename instance.caughtAt to instance.firstRetrievedAt
This commit is contained in:
parent
7e5f3dbf11
commit
30fced38c4
10 changed files with 23 additions and 11 deletions
|
|
@ -34,7 +34,7 @@ export class FederatedInstanceService {
|
|||
const i = await this.instancesRepository.insert({
|
||||
id: this.idService.genId(),
|
||||
host,
|
||||
caughtAt: new Date(),
|
||||
firstRetrievedAt: new Date(),
|
||||
}).then(x => this.instancesRepository.findOneByOrFail(x.identifiers[0]));
|
||||
|
||||
this.cache.set(host, i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue