Skip to content

Commit

Permalink
Merge pull request #1024 from longguikeji/feature-464
Browse files Browse the repository at this point in the history
fix: 🐛 修复loginpage接口报错
  • Loading branch information
fanhe-lg committed Jul 13, 2022
2 parents 20d62d7 + 889b382 commit bc919bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/views/loginpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class LoginFormSchema(Schema):

class LoginPageExtendSchema(Schema):
title: Optional[str] = Field(title=_('title', '页面扩展标题'))
buttons: List[ButtonSchema] = Field(title=_('buttons', '扩展按钮'))
buttons: Optional[List[ButtonSchema]] = Field(title=_('buttons', '扩展按钮'))


class LoginPageSchema(Schema):
Expand Down

0 comments on commit bc919bc

Please sign in to comment.