Skip to content

Commit

Permalink
Merge pull request #82 from moosetechnology/deprecate-repoapi
Browse files Browse the repository at this point in the history
deporecate repo api
  • Loading branch information
badetitou authored Oct 11, 2024
2 parents f7b43a8 + eb3f2ec commit 93c7f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GitLabHealth-Model-Importer/GLHModelImporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ GLHModelImporter >> importContributedProjectsOfUser: aGLHUser [
page := page + 1.
('import contributed project of user ' , aGLHUser name , ' page '
, page printString) recordInfo.
results := self glhApi
results := self repoApi
contributedProjectsOfUserId: aGLHUser id
orderBy: 'last_activity_at'
simple: true
Expand Down Expand Up @@ -820,7 +820,7 @@ GLHModelImporter >> importUser: aUserID [
detect: [ :user | user id = aUserID ]
ifFound: [ :user | ^ user ].
('Import user: ' , aUserID printString) recordInfo.
result := self glhApi user: aUserID.
result := self repoApi user: aUserID.
userResult := self parseUserResult: result.
^ self glhModel add: userResult unless: self blockOnIdEquality
]
Expand All @@ -841,7 +841,7 @@ GLHModelImporter >> importUserByUsername: anUsername [
| result userId searchResult |
('Import user with username: '
, anUsername printString) recordInfo.
result := self glhApi usersSearchByUsername:
result := self repoApi usersSearchByUsername:
anUsername.
searchResult := NeoJSONReader fromString: result.

Expand Down

0 comments on commit 93c7f60

Please sign in to comment.