diff --git a/pagure/api/project.py b/pagure/api/project.py
index 5cfa1c1..516bcf1 100644
--- a/pagure/api/project.py
+++ b/pagure/api/project.py
@@ -277,7 +277,7 @@ def api_git_branches(repo, username=None, namespace=None):
     +-----------------+----------+---------------+--------------------------+
     | Key             | Type     | Optionality   | Description              |
     +=================+==========+===============+==========================+
-    | ``with_commits``| string   | Optional      | | Include the commit hash|
+    | ``with_commits``| boolean  | Optional      | | Include the commit hash|
     |                 |          |               |   corresponding to the   |
     |                 |          |               |   HEAD of each branch    |
     +-----------------+----------+---------------+--------------------------+