Update work.go

This commit is contained in:
daiyb 2026-02-28 14:49:52 +08:00
parent 1791397782
commit 77248eb885

View File

@ -1015,6 +1015,8 @@ func RePublish(ctx *gin.Context) {
req.PublishSource = cast.PublishSourceENUM_RePublishType_MANUAL
}
newCtx := NewCtxWithUserInfo(ctx)
service.Success(ctx, req) //FIXME
return
err = republishCore(ctx, newCtx, req)
if err != nil {
service.Error(ctx, err)