Skip to content

Commit 3b8c5e7

Browse files
committed
fix-AssetCodeLocation
1 parent 98fb450 commit 3b8c5e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/scope/CodeNavigationBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private fun buildFromCodeLocation(project: Project, codeLocation: AssetCodeLocat
9999
}
100100

101101

102-
val endpointCodeObjectId = codeLocation.endpointAssetCodeLocation?.endpointCodeObjectId
102+
val endpointCodeObjectId = codeLocation.endpoint?.endpointCodeObjectId
103103
if (endpointCodeObjectId != null) {
104104

105105
val endpointInfos = LanguageService.getEndpointInfos(project, endpointCodeObjectId)

model/src/main/kotlin/org/digma/intellij/plugin/model/rest/navigation/AssetNavigationResponse.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ data class AssetCodeLocation
2020
"spanCodeObjectId",
2121
"methodCodeObjectId",
2222
"displayName",
23-
"endpointAssetCodeLocation"
23+
"endpoint"
2424
)
2525
constructor(
2626
val spanCodeObjectId: String,
2727
val methodCodeObjectId: String? = null,
2828
val displayName: String,
29-
val endpointAssetCodeLocation: EndpointAssetCodeLocation? = null,
29+
val endpoint: EndpointAssetCodeLocation? = null,
3030
)
3131

3232
@JsonIgnoreProperties(ignoreUnknown = true)

0 commit comments

Comments
 (0)