Empty changes list when uploading classes

This commit is contained in:
Christoph Hagen 2023-01-15 03:03:27 +01:00
parent 78254f46a5
commit 299dba0da4

View File

@ -77,11 +77,6 @@ func routes(_ app: Application) {
throw CapError.invalidBody throw CapError.invalidBody
} }
server.updateTrainedClasses(content: content) server.updateTrainedClasses(content: content)
}
// Reset the changed images list
app.postCatching("changes") { request in
try authorize(request)
server.emptyChangedImageListFile() server.emptyChangedImageListFile()
} }
} }