use string instead of uuid
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-05-29 13:27:53 +02:00
parent 8d7f05d122
commit 2b89400168
5 changed files with 5 additions and 7 deletions

View File

@ -27,7 +27,7 @@ class ResultObjectService : IResultObjectService {
ResultObjects.selectAll().map { toResultObject(it) }
}
override suspend fun getResultObjectbyTag(tag: UUID): ApiObject? = dbQuery {
override suspend fun getResultObjectbyTag(tag: String): ApiObject? = dbQuery {
ResultObjects.select {
(ResultObjects.tag eq tag)
}.mapNotNull { toResultObject(it) }