mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 14:38:03 +02:00
feat: list gh repos in user admin
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user