Skip to content

Commit

Permalink
#1644 Fix type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 13, 2020
1 parent 87fcd20 commit a0868a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MispExportSrv @Inject() (
observable
.data
.collect {
case data if observable.`type` == "hash" => data.data.length
case data if observable.`type`.name == "hash" => data.data.length
}
.collect {
case 32 => "md5"
Expand Down

0 comments on commit a0868a9

Please sign in to comment.