mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add and change custom fields
This commit is contained in:
@ -42,7 +42,6 @@ object CustomFieldType {
|
||||
def unsafe(str: String): CustomFieldType =
|
||||
fromString(str).fold(sys.error, identity)
|
||||
|
||||
|
||||
implicit val jsonDecoder: Decoder[CustomFieldType] =
|
||||
Decoder.decodeString.emap(fromString)
|
||||
|
||||
|
Reference in New Issue
Block a user