feat: list gh repos in user admin

This commit is contained in:
tdurieux
2023-02-22 11:05:37 +01:00
parent d825cc1d69
commit c59e202124
5 changed files with 103 additions and 19 deletions
+10
View File
@@ -231,6 +231,16 @@ angular
);
};
$scope.getGitHubRepositories = (force) => {
$http
.get(`/api/user/${$scope.userInfo.username}/all_repositories`, {
params: { force: "1" },
})
.then((res) => {
$scope.userInfo.repositories = res.data;
});
};
let timeClear = null;
$scope.$watch(
"query",