diff options
Diffstat (limited to 'app/Issue.hs')
-rw-r--r-- | app/Issue.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Issue.hs b/app/Issue.hs index f8bf0ec..f0940f2 100644 --- a/app/Issue.hs +++ b/app/Issue.hs @@ -56,6 +56,9 @@ internalTags (Issue {..}) = instance HasField "internalTags" Issue [Tag] where getField issue = internalTags issue +instance HasField "id" Issue (Maybe String) where + getField issue = id issue + toSpinalCase :: T.Text -> T.Text toSpinalCase = T.replace " " "-" . T.filter keep . T.toLower where |