mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
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. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Fixed resumable upload example to use correct format for the cache control parameter in code snippets. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
This commit is contained in:
1 parent
be67fef07b
commit
58fafeb70e
1 file changed
+1
-1
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user