Skip to content

Commit

Permalink
fix: resources index
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Jul 27, 2023
1 parent 7186fd6 commit 87fd0fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/external-resources/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ export default class ExternalResource extends Events {

remoteIndex = remoteIndex[this.#name];

remoteIndex.id = this.id;
remoteIndex.lastChecked = new Date();
remoteIndex.lastUpdated = localIndex.lastUpdated;

// update is not required
if ( !force && remoteIndex.etag === localIndex.etag ) {
Expand Down

0 comments on commit 87fd0fe

Please sign in to comment.