remove validation for notificationFaceURL

This commit is contained in:
Gordon 2022-07-26 18:47:06 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent cf85ed2ffe
commit cbba9bdeb3
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ type RevokeElem struct {
}
type OANotificationElem struct {
NotificationName string `mapstructure:"notificationName" json:"notificationName" validate:"required"`
NotificationFaceURL string `mapstructure:"notificationFaceURL" json:"notificationFaceURL" validate:"required"`
NotificationFaceURL string `mapstructure:"notificationFaceURL" json:"notificationFaceURL"`
NotificationType int32 `mapstructure:"notificationType" json:"notificationType" validate:"required"`
Text string `mapstructure:"text" json:"text" validate:"required"`
Url string `mapstructure:"url" json:"url"`