Skip to content

Commit

Permalink
Merge pull request #1323 from longguikeji/feature-797
Browse files Browse the repository at this point in the history
feat: 🎸 默认租户接口添加字段icon slug
  • Loading branch information
guancyxx authored Oct 8, 2022
2 parents c773c40 + 70ac9a8 commit d046c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/schema/tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class DefaultTenantItemOut(ModelSchema):

class Config:
model = Tenant
model_fields = ["id", "name"]
model_fields = ["id", "name", "icon", "slug"]

is_platform_tenant:bool = Field(
title=_("是否是平台租户")
Expand Down

0 comments on commit d046c23

Please sign in to comment.