Compare commits
2 Commits
281533b143
...
1e744e4000
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e744e4000 | ||
|
|
b922b4bd88 |
@ -1018,8 +1018,6 @@ 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)
|
||||
@ -1083,9 +1081,10 @@ func republishCore(gCtx *gin.Context, newCtx context.Context, req *cast.RePublis
|
||||
zap.L().Error("RePublish UpsertTaskList failed", zap.Error(err))
|
||||
return err
|
||||
}
|
||||
if err = PublishWork(newCtx, &cast.PublishReq{WorkUuids: resp.WorkUuids}); err != nil {
|
||||
//FIXME
|
||||
/* if err = PublishWork(newCtx, &cast.PublishReq{WorkUuids: resp.WorkUuids}); err != nil {
|
||||
return err
|
||||
}
|
||||
}*/
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user