Fix item mapping logic to correctly handle deleteDebugStick parameter

This commit is contained in:
AkmalFairuz
2025-06-20 19:56:19 +07:00
parent 3d2c85b07b
commit 0abc5c3694

View File

@@ -25,7 +25,7 @@ var (
func itemMappingLatest(deleteDebugStick bool) mapping.Item { func itemMappingLatest(deleteDebugStick bool) mapping.Item {
if deleteDebugStick { if deleteDebugStick {
return itemMappingLatestWithDebugStick
}
return itemMappingLatestWithoutDebugStick return itemMappingLatestWithoutDebugStick
} }
return itemMappingLatestWithDebugStick
}