Update work.go
This commit is contained in:
parent
1791397782
commit
77248eb885
@ -1015,6 +1015,8 @@ func RePublish(ctx *gin.Context) {
|
|||||||
req.PublishSource = cast.PublishSourceENUM_RePublishType_MANUAL
|
req.PublishSource = cast.PublishSourceENUM_RePublishType_MANUAL
|
||||||
}
|
}
|
||||||
newCtx := NewCtxWithUserInfo(ctx)
|
newCtx := NewCtxWithUserInfo(ctx)
|
||||||
|
service.Success(ctx, req) //FIXME
|
||||||
|
return
|
||||||
err = republishCore(ctx, newCtx, req)
|
err = republishCore(ctx, newCtx, req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.Error(ctx, err)
|
service.Error(ctx, err)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user