Skip to content

Commit

Permalink
fix: 无法拒绝的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Apr 17, 2024
1 parent 4262b60 commit de7d4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/service/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,5 @@ func (ps *PostService) PostReview(uin int64, id int, option database.ReviewOptio
return err
}

return ps.DB.UpdatePostStatus(id, database.POST_STATUS_APPROVED)
return ps.DB.UpdatePostStatus(id, newStat)
}

0 comments on commit de7d4d4

Please sign in to comment.