From 58fafeb70e00af4a4d12440ddece7a2b7db7fd7a Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 13 Apr 2026 22:17:17 +0900 Subject: [PATCH] docs: Fix minor type error in Tus upload code (#44760) ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Docs update ## What is the current behavior? A very minor type fix of the tus sample code we have in the docs. ## Summary by CodeRabbit * **Documentation** * Fixed resumable upload example to use correct format for the cache control parameter in code snippets. Co-authored-by: Chris Chinchilla --- apps/docs/content/guides/storage/uploads/resumable-uploads.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx index 6526563c6ab..f2a2615c880 100644 --- a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx +++ b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx @@ -56,7 +56,7 @@ Instead of `https://project-id.supabase.co` use `https://project-id.storage.supa bucketName: bucketName, objectName: fileName, contentType: 'image/png', - cacheControl: 3600, + cacheControl: '3600', metadata: JSON.stringify({ // custom metadata passed to the user_metadata column yourCustomMetadata: true, }),