Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Jan 26, 2024
1 parent ee57289 commit 3fe18a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/rotor/src/lib/inmem-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export const createInMemoryStore = <T>(definition: StoreDefinition<T>): InMemory
const newDef = await definition.refresh(lastModified);
if (newDef !== "not_modified") {
saveLocalCache(definition, newDef.store);
lastModified = newDef.lastModified;
if (newDef.lastModified) {
lastModified = newDef.lastModified;
}
instance = newDef.store;
}
status = "ok";
Expand Down

0 comments on commit 3fe18a0

Please sign in to comment.