fix: make log alert delivery durable
This commit is contained in:
@@ -344,10 +344,6 @@ func ReplayLogEvent(ctx *gin.Context) {
|
||||
infra.Response.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
if err := impl.DBService.Model(&models.LogEvent{}).Where("id = ?", id).Update("dispatch_status", "pending").Error; err != nil {
|
||||
infra.Response.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
infra.Response.Success(ctx, gin.H{
|
||||
"log_event_id": id,
|
||||
"outbox_id": outboxID,
|
||||
|
||||
Reference in New Issue
Block a user