Skip to content

Commit

Permalink
CID-2872: change RepositoryDto attribute from isArchived to archived
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Aug 14, 2024
1 parent 99f2a8a commit 17fa936
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data class RepositoryDto(
val organizationName: String,
val description: String?,
val url: String,
val isArchived: Boolean,
val archived: Boolean,
val visibility: RepositoryVisibility,
val updatedAt: String,
val languages: List<String>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class GitHubGraphQLService(
organizationName = it.owner.login,
description = it.description,
url = it.url,
isArchived = it.isArchived,
archived = it.isArchived,
visibility = it.visibility,
updatedAt = it.updatedAt,
languages = it.languages!!.nodes!!.map { language -> language!!.name },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class GitHubScanningServiceTest {
organizationName = "testOrg",
description = "A test repository",
url = "https://github.com/testRepo",
isArchived = false,
archived = false,
visibility = RepositoryVisibility.PUBLIC,
updatedAt = "2024-01-01T00:00:00Z",
languages = listOf("Kotlin", "Java"),
Expand Down

0 comments on commit 17fa936

Please sign in to comment.