update unreviewed revisions router

This commit is contained in:
aichy126 2022-11-23 18:17:06 +08:00
parent 3cd52758f3
commit 64a87bafb2
1 changed files with 4 additions and 1 deletions

View File

@ -123,7 +123,6 @@ func (a *AnswerAPIRouter) RegisterUnAuthAnswerAPIRouter(r *gin.RouterGroup) {
//revision
r.GET("/revisions", a.revisionController.GetRevisionList)
r.GET("/revisions/unreviewed", a.revisionController.GetUnreviewedRevisionList)
// tag
r.GET("/tags/page", a.tagController.GetTagWithPage)
@ -209,6 +208,10 @@ func (a *AnswerAPIRouter) RegisterAnswerAPIRouter(r *gin.RouterGroup) {
// activity
r.GET("/activity/timeline", a.activityController.GetObjectTimeline)
r.GET("/activity/timeline/detail", a.activityController.GetObjectTimelineDetail)
//revisions
r.GET("/revisions/unreviewed", a.revisionController.GetUnreviewedRevisionList)
}
func (a *AnswerAPIRouter) RegisterAnswerCmsAPIRouter(r *gin.RouterGroup) {