Skip to content

Commit

Permalink
fix: Model 昵称打错了
Browse files Browse the repository at this point in the history
  • Loading branch information
BigOrangeQWQ committed Aug 27, 2024
1 parent 9168d03 commit 671faec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/store_test/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Tag(BaseModel):
label: str = Field(max_length=10)
color: Color

@field_validator("lable", mode="before")
@field_validator("label", mode="before")
@classmethod
def label_validator(cls, v: str):
return v.removeprefix("t:")
Expand Down

0 comments on commit 671faec

Please sign in to comment.