Empty changes list when uploading classes
This commit is contained in:
parent
78254f46a5
commit
299dba0da4
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user