From ebe8df82216211ec4c738e19488007b9cbcef761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Thu, 4 Aug 2022 11:24:15 +0800 Subject: [PATCH] fixed reposyncer delete --- app/controllers/ob_repository_syncs_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/ob_repository_syncs_controller.rb b/app/controllers/ob_repository_syncs_controller.rb index 45843ec80..8b6c1731c 100644 --- a/app/controllers/ob_repository_syncs_controller.rb +++ b/app/controllers/ob_repository_syncs_controller.rb @@ -37,6 +37,7 @@ class ObRepositorySyncsController < ApplicationController if res["code"].to_s == "200" @ob_repository_sync.destroy! end + render_ok end def jobs