Minor hashes refactoring

This commit is contained in:
Šesták Vít committed 2017-06-19 13:09:17 +02:00
1 parent e732e2fbb9
commit 2d0651cfc7
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ object QueryBinders {
str => str.split('-') match {
case Array(sha1, md5) => Hashes(sha1 = sha1, md5 = md5)
},
hashes => s"${hashes.sha1}-${hashes.md5}"
hashes => hashes.serialized
)
implicit object MapStringIntJavascriptLiteral extends JavascriptLiteral[Map[String, Int]] {