Skip to content

Commit

Permalink
#1599 Make custom fields type updatable
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 29, 2020
1 parent 5247530 commit 18caa17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class PublicCustomField @Inject() (customFieldSrv: CustomFieldSrv) extends Publi
.property("description", UMapping.string)(_.field.updatable)
.property("reference", UMapping.string)(_.rename("name").readonly)
.property("mandatory", UMapping.boolean)(_.field.updatable)
.property("type", UMapping.string)(_.field.readonly)
.property("type", UMapping.string)(_.field.updatable)
.property("options", UMapping.json.sequence)(_.field.updatable)
.build
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CustomFieldCtrl @Inject() (entrypoint: Entrypoint, @Named("with-thehive-sc
.property("description", UMapping.string)(_.field.updatable)
.property("reference", UMapping.string)(_.rename("name").readonly)
.property("mandatory", UMapping.boolean)(_.field.updatable)
.property("type", UMapping.string)(_.field.readonly)
.property("type", UMapping.string)(_.field.updatable)
.property("options", UMapping.json.sequence)(_.field.updatable)
.build

Expand Down

0 comments on commit 18caa17

Please sign in to comment.