[MM-55048] Pretty print posts, users, channels and teams in logs (#25029)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a78710c2a6
Коммит
aa82597e2d
@@ -146,6 +146,10 @@ func (o *Post) Auditable() map[string]interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
func (o *Post) LogClone() any {
|
||||
return o.Auditable()
|
||||
}
|
||||
|
||||
type PostEphemeral struct {
|
||||
UserID string `json:"user_id"`
|
||||
Post *Post `json:"post"`
|
||||
|
||||
Ссылка в новой задаче
Block a user