mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-06 21:50:39 +08:00
fix(DeleteProtectRule): fix time format error (github: #173)
This commit is contained in:
@@ -814,7 +814,7 @@ class Repository extends Base
|
||||
|
||||
$updateData = [
|
||||
'pbr_status' => COMMON_STATUS_DELETE,
|
||||
'pbr_deleted' => date('Y-m-d H:i:S')
|
||||
'pbr_deleted' => date('Y-m-d H:i:s')
|
||||
];
|
||||
|
||||
if (!$this->repositoryModel->updateProtectedBranchRule($pbrKey, $updateData)) {
|
||||
|
||||
Reference in New Issue
Block a user