diff options
author | Joris | 2019-08-07 21:27:59 +0200 |
---|---|---|
committer | Joris | 2019-08-07 21:27:59 +0200 |
commit | fc8be14dd0089eb12b78af7aaaecd8ed57896677 (patch) | |
tree | 22bcd64c7ef3f21aa067ca81824f0e0a2ce6b631 /server/src | |
parent | bc81084933f8ec1bfe6c2834defd12243117fdd9 (diff) |
Update category according to payment in add overlay
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/Persistence/PaymentCategory.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/Persistence/PaymentCategory.hs b/server/src/Persistence/PaymentCategory.hs index 1cfd702..5fd035a 100644 --- a/server/src/Persistence/PaymentCategory.hs +++ b/server/src/Persistence/PaymentCategory.hs @@ -6,7 +6,6 @@ module Persistence.PaymentCategory import qualified Data.Maybe as Maybe import Data.Text (Text) -import qualified Data.Text as T import Data.Time.Clock (getCurrentTime) import Database.SQLite.Simple (FromRow (fromRow), Only (Only)) import qualified Database.SQLite.Simple as SQLite @@ -77,4 +76,4 @@ save newName categoryId = Nothing ) where - formattedNewName = T.unaccent . T.toLower $ newName + formattedNewName = T.formatSearch newName |