mirror of
https://github.com/ZTatman/Nadir.git
synced 2026-11-22 21:07:58 +00:00
Fix signed URL example in docs
This commit is contained in:
parent
360cde9aef
commit
b0fe371bed
1 changed files with 2 additions and 1 deletions
|
|
@ -361,10 +361,11 @@ avatars/
|
||||||
### Accessing files from Python (signed URL — expires in 1 hour)
|
### Accessing files from Python (signed URL — expires in 1 hour)
|
||||||
|
|
||||||
```python
|
```python
|
||||||
url = supabase.storage.from_("recordings").create_signed_url(
|
response = supabase.storage.from_("recordings").create_signed_url(
|
||||||
path=f"{user_id}/{filename}",
|
path=f"{user_id}/{filename}",
|
||||||
expires_in=3600
|
expires_in=3600
|
||||||
)
|
)
|
||||||
|
url = response["signedURL"]
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue