mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 02:49:32 +00:00
Remove unused routes
The functionality has been implemented in `CheckFileRoutes`.
This commit is contained in:
parent
89fd91894d
commit
892002b351
@ -5,7 +5,6 @@ import cats.implicits._
|
||||
import docspell.backend.BackendApp
|
||||
import docspell.backend.auth.AuthToken
|
||||
import docspell.common.{Ident, Priority}
|
||||
import docspell.restapi.model.BasicResult
|
||||
import docspell.restserver.Config
|
||||
import docspell.restserver.conv.Conversions._
|
||||
import docspell.restserver.http4s.ResponseGenerator
|
||||
@ -40,10 +39,6 @@ object UploadRoutes {
|
||||
result <- backend.upload.submit(updata, user.account, true)
|
||||
res <- Ok(basicResult(result))
|
||||
} yield res
|
||||
|
||||
case GET -> Root / "checkfile" / checksum =>
|
||||
Ok(BasicResult(false, s"not implemented $checksum"))
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,9 +59,6 @@ object UploadRoutes {
|
||||
result <- backend.upload.submit(updata, id, true)
|
||||
res <- Ok(basicResult(result))
|
||||
} yield res
|
||||
|
||||
case GET -> Root / "checkfile" / Ident(id) / checksum =>
|
||||
Ok(BasicResult(false, s"not implemented $id $checksum"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user