Skip to content

Commit

Permalink
fix error no-repo (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Sep 19, 2024
1 parent b690ae0 commit 2055070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcs_scraper/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SimpleRepository(BaseModel):

class ActiveRepositories(BaseModel):
project_key: Annotated[str, StringConstraints(min_length=1, max_length=100)]
repositories: Annotated[list[SimpleRepository], Field(min_length=1)]
repositories: Annotated[list[SimpleRepository], Field(min_length=0)]
vcs_instance_name: Annotated[str, StringConstraints(max_length=200)]


Expand Down

0 comments on commit 2055070

Please sign in to comment.