Skip to content

Commit

Permalink
optimize rocboss#141 fixed tweet in correct visibility status after v…
Browse files Browse the repository at this point in the history
…isible action
  • Loading branch information
alimy committed Jun 26, 2022
1 parent 9012c86 commit 29fd5fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ func VisiblePost(user *model.User, postId int64, visibility model.PostVisibleT)
return errcode.VisblePostFailed
}

// 推送Search
post.Visibility = visibility
PushPostToSearch(post)

return nil
}

Expand Down

0 comments on commit 29fd5fa

Please sign in to comment.