🔊 Verbose post editing logging
This commit is contained in:
parent
f609ac878a
commit
2558b89b63
@ -498,6 +498,8 @@ func EditPost(item models.Post) (models.Post, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func updatePostAttachmentVisibility(item models.Post) error {
|
func updatePostAttachmentVisibility(item models.Post) error {
|
||||||
|
log.Debug().Any("attachments", item.Body["attachments"]).Msg("Updating post attachments visibility...")
|
||||||
|
|
||||||
if item.Publisher.AccountID == nil {
|
if item.Publisher.AccountID == nil {
|
||||||
log.Warn().Msg("Post publisher did not have account id, skip updating attachments visibility...")
|
log.Warn().Msg("Post publisher did not have account id, skip updating attachments visibility...")
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user