Skip to content

Commit

Permalink
updated to use Field(default_factory=list)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Sep 24, 2024
1 parent 856a891 commit 2bfbc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt_platform/backend/backend/util/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Config(UpdateTrackingModel["Config"], BaseSettings):
description="The port for agent server API to run on",
)

backend_cors_allow_origins: List[str] = []
backend_cors_allow_origins: List[str] = Field(default_factory=list)

@field_validator("backend_cors_allow_origins")
@classmethod
Expand Down

0 comments on commit 2bfbc78

Please sign in to comment.