aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-06-15 22:14:47 +0800
committerIgor Pashev <pashev.igor@gmail.com>2016-06-15 22:14:47 +0800
commit2059118ee2778fb8945ae6ccf33aa3aaba5d3417 (patch)
treea7477910876ed9516b2375195bec8d9caea54b35
parentf8d1c5b2c6f9351f300c596bc51d38d793b9e389 (diff)
downloadmywatch-2059118ee2778fb8945ae6ccf33aa3aaba5d3417.tar.gz
GRANT may have NULL state
-rw-r--r--src/Application.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Application.hs b/src/Application.hs
index 899893e..d2e7f6b 100644
--- a/src/Application.hs
+++ b/src/Application.hs
@@ -63,7 +63,7 @@ data Process = Process {
, db :: Maybe Text
, command :: Text
, time :: Int
- , state :: Text
+ , state :: Maybe Text
, info :: Text
} deriving (Generic)
instance ToJSON Process