Benchmark editing

This commit is contained in:
2026-08-27 13:52:57 +02:00
parent 0d3f5ca8ad
commit 57586c6600
5 changed files with 37 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ plugins {
}
group = "com.jaytux.phoebench"
version = rootProject.version as PhoebenchVersion
version = PhoebenchVersion(1, 1, 1)
if((version as PhoebenchVersion) < (rootProject.version as PhoebenchVersion))
throw GradleException("Server version must be at least as high as protocol/common version")
@@ -200,7 +200,7 @@ object ProjectHandler {
checkMigration(user)
val (proj, bench) = accessibleBenchmark(user, req.first, true)
val changes = req.second
changes.name?.let { proj.name = it }
changes.name?.let { bench.name = it }
ServerScope.launch {
Buses.projectBus(proj.id.value).sendAll(ProjectEvent.BenchmarkChanged(