Skip to content

Commit

Permalink
#1469 Don't check observable type existence before create new one
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Aug 11, 2020
1 parent 028b52e commit cf775dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class Output @Inject() (
observableTypes
.get(typeName)
.fold[Try[ObservableType with Entity]] {
observableTypeSrv.create(ObservableType(typeName, isAttachment = false)).map { ot =>
observableTypeSrv.createEntity(ObservableType(typeName, isAttachment = false)).map { ot =>
observableTypes += (typeName -> ot)
ot
}
Expand Down

0 comments on commit cf775dc

Please sign in to comment.