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 ce7d131 commit 1485907Copy full SHA for 1485907
.changeset/cold-ants-bow.md
@@ -0,0 +1,5 @@
1
+---
2
+"@supabase-cache-helpers/storage-core": patch
3
4
+
5
+fix: fallback to lastModified and createdAt if updatedAt is undefined
packages/storage-core/src/url-fetcher.ts
@@ -31,7 +31,8 @@ export const createUrlFetcher = (
31
const { data: fileInfo } = await fileApi.info(path);
32
if (!fileInfo) return;
33
params = {
34
- updated_at: fileInfo.updatedAt,
+ updated_at:
35
+ fileInfo.updatedAt || fileInfo.lastModified || fileInfo.createdAt,
36
};
37
}
38
0 commit comments