Skip to content
Snippets Groups Projects
Commit 650afd5c authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

API map: corrige liens vers routes -query

parent 41758b8c
Branches
Tags
No related merge requests found
...@@ -133,7 +133,7 @@ class Token: ...@@ -133,7 +133,7 @@ class Token:
) )
# Préparation du lien vers la doc de la route # Préparation du lien vers la doc de la route
href = "#" + self.func_name.replace("_", "-") href = "#" + self.func_name.replace("_", "-")
if self.query: if self.query and not href.endswith("-query"):
href += "-query" href += "-query"
question_mark_group = _create_question_mark_group(current_end_coords, href) question_mark_group = _create_question_mark_group(current_end_coords, href)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment