Skip to content
Snippets Groups Projects
Unverified Commit 868fa3dc authored by Juraj Kusnier's avatar Juraj Kusnier Committed by GitHub
Browse files

Use testTakenAt instead of testedAt (#3362)

parent 5cd1e8ee
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ fun Map.Entry<CoronaTestGUID, CoronaTest>.asTestResultEntity(): ContactDiaryCoro
testType = if (type == CoronaTest.Type.PCR) PCR else ANTIGEN,
result = if (isPositive) POSITIVE else NEGATIVE,
time = when (this) {
is RACoronaTest -> testedAt
is RACoronaTest -> testTakenAt
else -> registeredAt
}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment