Skip to content

Commit

Permalink
default presign_endpoint_url
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Nov 25, 2024
1 parent 0b29c9b commit b84a5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/btrixcloud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ class S3Storage(BaseModel):
access_key: str
secret_key: str
access_endpoint_url: str
presign_endpoint_url: str
presign_endpoint_url: str = Field(default_factory=lambda data: data["endpoint_url"]) # type: ignore
region: str = ""
use_access_for_presign: bool = True

Expand Down

0 comments on commit b84a5da

Please sign in to comment.