From 5d180a442cfdee4c3bb46ec25ade6641381240dd Mon Sep 17 00:00:00 2001 From: Florian M Date: Fri, 13 Apr 2018 13:41:24 +0200 Subject: [PATCH] fix sql query to reset tasks to base (#2481) --- app/models/annotation/Annotation.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/annotation/Annotation.scala b/app/models/annotation/Annotation.scala index 5305df8c225..5c09cdbd7de 100755 --- a/app/models/annotation/Annotation.scala +++ b/app/models/annotation/Annotation.scala @@ -254,7 +254,7 @@ object AnnotationSQLDAO extends SQLDAO[AnnotationSQL, AnnotationsRow, Annotation def updateTracingReference(id: ObjectId, tracing: TracingReference)(implicit ctx: DBAccessContext): Fox[Unit] = for { _ <- assertUpdateAccess(id) - _ <- run(sqlu"update webknossos.annotations set tracing_id = ${tracing.id}, tracingTyp = '#${tracing.typ.toString}' where _id = ${id.id}") + _ <- run(sqlu"update webknossos.annotations set tracing_id = ${tracing.id}, tracing_typ = '#${tracing.typ.toString}' where _id = ${id.id}") } yield () def updateStatistics(id: ObjectId, statistics: JsObject)(implicit ctx: DBAccessContext): Fox[Unit] =