Skip to content

Commit

Permalink
fix ChannelMessage.message text area
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaJafar committed Aug 26, 2024
1 parent 0622e49 commit 5ce1ff4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions server/settings/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ class ChannelMessage(BaseSettingsModel):
channels: list[str] = Field(default_factory=list, title="Channels")
upload_thumbnail: bool = Field(default=True, title="Upload thumbnail")
upload_review: bool = Field(default=True, title="Upload review")
message: str = Field('', title="Message")
message: str = Field('',
title="Message",
widget="textarea"
)


class Profile(BaseSettingsModel):
Expand All @@ -31,8 +34,7 @@ class Profile(BaseSettingsModel):
default_factory=list,
title="Messages to channels",
description=_desc,
section="Messages",
widget="textarea"
section="Messages"
)


Expand Down

0 comments on commit 5ce1ff4

Please sign in to comment.