Skip to content

Commit 9764c5b

Browse files
committed
fix(model-server): use correct resource for posting contentVersionHash
1 parent e2c182d commit 9764c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model-server/src/main/kotlin/org/modelix/model/server/handlers/ContentExplorer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class ContentExplorer(private val client: IModelClient, private val repoManager:
8787
bodyContent { contentPageBody(rootNode, versionHash, emptySet()) }
8888
}
8989
}
90-
post<Paths.contentVersionHashGet> {
90+
post<Paths.contentVersionHashPost> {
9191
val versionHash = call.parameters["versionHash"]
9292
if (versionHash.isNullOrEmpty()) {
9393
call.respondText("version not found", status = HttpStatusCode.BadRequest)

0 commit comments

Comments
 (0)