diff --git a/gitlab-haskell.cabal b/gitlab-haskell.cabal
--- a/gitlab-haskell.cabal
+++ b/gitlab-haskell.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.4
 name:           gitlab-haskell
 category:       Git
-version:        0.1.7
+version:        0.1.8
 synopsis:       A Haskell library for the GitLab web API
 description:
             This Haskell library queries and updates the database of a GitLab instance using the GitLab web API: <https://docs.gitlab.com/ee/api/>
diff --git a/src/GitLab/Types.hs b/src/GitLab/Types.hs
--- a/src/GitLab/Types.hs
+++ b/src/GitLab/Types.hs
@@ -144,7 +144,7 @@
         namespace_path :: Text,
         kind :: Text,
         full_path :: Text,
-        parent_id :: Maybe Text
+        parent_id :: Maybe Int
       }
   deriving (Generic, Show)
 
@@ -353,7 +353,7 @@
         committed_date :: Text,
         commit_created_at :: Text,
         message :: Text,
-        parent_ids :: Maybe [Text],
+        parent_ids :: Maybe [Int],
         last_pipeline :: Maybe Pipeline,
         commit_stats :: Maybe CommitStats,
         commit_status :: Maybe Text
@@ -366,7 +366,7 @@
       { todo_commit_id :: Text,
         todo_commit_short_id :: Text,
         todo_commit_created_at :: Text,
-        todo_parent_ids :: Maybe [Text]
+        todo_parent_ids :: Maybe [Int]
       }
   deriving (Generic, Show)
 
