Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit c40dffa

Browse files
authored
fix(BuilderSystemAPI): fixed removeTask and updated version (#20)
1 parent 998263a commit c40dffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "net.gigaclub"
7-
version = "14.0.1.0.4"
7+
version = "14.0.1.0.5"
88

99
val myArtifactId: String = rootProject.name
1010
val myArtifactGroup: String = project.group.toString()

src/main/java/net/gigaclub/buildersystem/BuilderSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public int createTask(String name, String description, int buildWidth, int build
292292
}
293293

294294
public void removeTask(int id) {
295-
this.odoo.unlink("gc.builder.task", Arrays.asList(Arrays.asList(Arrays.asList("id", "=", id))));
295+
this.odoo.unlink("gc.builder.task", Arrays.asList(Arrays.asList(id)));
296296
}
297297

298298
public void editTaskName(int id, String newName) {

0 commit comments

Comments
 (0)