From 400b322c20fc79ce80e2ca3852bc079995c75933 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Mon, 14 Aug 2023 09:26:47 +0800 Subject: [PATCH] * Adjust code space. --- module/gogs/control.php | 4 ++-- module/gogs/js/binduser.ui.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/gogs/control.php b/module/gogs/control.php index 0b8e181637..0335b8320d 100644 --- a/module/gogs/control.php +++ b/module/gogs/control.php @@ -208,7 +208,7 @@ class gogs extends control } $userList = array(); - $gogsUsers = $this->gogs->apiGetUsers($gogsID); + $gogsUsers = $this->gogs->apiGetUsers($gogsID); $bindedUsers = $this->gogs->getUserAccountIdPairs($gogsID); $matchedResult = $this->gogs->getMatchedUsers($gogsID, $gogsUsers, $zentaoUsers); @@ -240,7 +240,7 @@ class gogs extends control $this->view->title = $this->lang->gogs->bindUser; $this->view->type = $type; - $this->view->gogsID = $gogsID; + $this->view->gogsID = $gogsID; $this->view->recTotal = count($userList); $this->view->userList = $userList; $this->view->userPairs = $userPairs; diff --git a/module/gogs/js/binduser.ui.js b/module/gogs/js/binduser.ui.js index bb489f18a1..ed226f7fd7 100644 --- a/module/gogs/js/binduser.ui.js +++ b/module/gogs/js/binduser.ui.js @@ -9,8 +9,8 @@ window.setUserEmail = function() window.renderGitlabUser = function(result, {row}) { - const gitlabID = row.data.gitlabID; - result.push({html: ``}); + const gogsID = row.data.gogsID; + result.push({html: ``}); return result; }