mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Change routes for scan-mailbox task to allow multiple tasks per user
This commit is contained in:
@ -9,7 +9,13 @@ import cats.effect.Sync
|
||||
import io.circe.{Decoder, Encoder}
|
||||
import scodec.bits.ByteVector
|
||||
|
||||
case class Ident(id: String) {}
|
||||
case class Ident(id: String) {
|
||||
def isEmpty: Boolean =
|
||||
id.trim.isEmpty
|
||||
|
||||
def nonEmpty: Boolean =
|
||||
!isEmpty
|
||||
}
|
||||
|
||||
object Ident {
|
||||
implicit val identEq: Eq[Ident] =
|
||||
|
Reference in New Issue
Block a user