We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb95686 commit 75f029eCopy full SHA for 75f029e
.changeset/new-walls-wish.md
@@ -0,0 +1,5 @@
1
+---
2
+"@supabase-cache-helpers/storage-core": patch
3
4
+
5
+fix: properly select url cache key from info
packages/storage-core/src/url-fetcher.ts
@@ -30,9 +30,10 @@ export const createUrlFetcher = (
30
if (!exists) return;
31
const { data: fileInfo } = await fileApi.info(path);
32
if (!fileInfo) return;
33
+ const value = fileInfo.lastModified || fileInfo.updatedAt;
34
+ if (!value) return;
35
params = {
- updated_at:
- fileInfo.updatedAt || fileInfo.lastModified || fileInfo.createdAt,
36
+ updated_at: value,
37
};
38
}
39
0 commit comments